From 8798d0286a67d4cb98c3804cac475e80a6a647a3 Mon Sep 17 00:00:00 2001 From: Azfar Arsyad <45238748+Arpax17@users.noreply.github.com> Date: Wed, 23 Mar 2022 09:01:25 +0800 Subject: [PATCH] Update ApiController.php --- app/Http/Controllers/ApiController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/ApiController.php b/app/Http/Controllers/ApiController.php index ba01a026..dce9ee99 100644 --- a/app/Http/Controllers/ApiController.php +++ b/app/Http/Controllers/ApiController.php @@ -61,9 +61,9 @@ class ApiController extends Controller }else{ $this->api_key = 'f3e82fe1-a422-4660-97f0-65cc59ff6c47'; $this->XSignature_Key = 'S-alZUbzmD2_TF3vmrRqgehQ'; + $this->collection_id = 'drxdyor4'; } - } public function biditem() @@ -153,7 +153,7 @@ class ApiController extends Controller $year = $current->format('y'); $total_bayaran = 1000; - dd($request->email); + $collection_id = $this->collection_id; $response = $bill->create( $collection_id, @@ -174,7 +174,7 @@ class ApiController extends Controller } $billcode = $response->toArray(); - dd($billcode); + // dd($billcode); // $billcode['redirect_url'] = 'http://192.168.0.10:8003/api/pembayaran/response'; // dd($billcode); $reference_no = 'LPKB' . $day . $month . $year . sprintf("%08d", $nosiri);