Commit 525796a0 by Triyah Fatmawati

Add nomor VA hasil generate

parent 2c8d8459
...@@ -196,6 +196,7 @@ public function store(Request $request) { ...@@ -196,6 +196,7 @@ public function store(Request $request) {
$arrResponse = json_decode($generatedVa, true); $arrResponse = json_decode($generatedVa, true);
$registrasi->status_va = $arrResponse['BTNresponse']; $registrasi->status_va = $arrResponse['BTNresponse'];
$registrasi->tagihan = $totalHarga; $registrasi->tagihan = $totalHarga;
$registrasi->nomor_va = $arrResponse['BTNVirtualAccount'];
$registrasi->save(); $registrasi->save();
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="col-md-6"> <div class="col-md-6">
<address> <address>
<strong>Metode Pembayaran:</strong><br> <strong>Metode Pembayaran:</strong><br>
Virtual Account : {{$registrasi['kode_registrasi']}}<br> Virtual Account : {{$registrasi['nomor_va']}}<br>
{{-- {{$registrasi['email']}} --}} {{-- {{$registrasi['email']}} --}}
</address> </address>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment