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);