diff --git a/app/Http/Controllers/BayaranController.php b/app/Http/Controllers/BayaranController.php index a8cc694..b88f75e 100644 --- a/app/Http/Controllers/BayaranController.php +++ b/app/Http/Controllers/BayaranController.php @@ -23,7 +23,7 @@ class BayaranController extends Controller if(config('app.env') != 'production'){ $this->api_key = 'abecfd0c-98d8-4635-abc2-2fcba8c60c11'; $this->XSignature_Key = 'S-GWr7z03XjAhqPsFfu_H5nQ'; - $this->collection_id = 'z0r4kjhi'; + $this->collection_id = '5aosv2dg'; }else{ $this->api_key = 'f3e82fe1-a422-4660-97f0-65cc59ff6c47'; $this->XSignature_Key = 'S-alZUbzmD2_TF3vmrRqgehQ'; @@ -100,7 +100,7 @@ class BayaranController extends Controller // array_push($arraybayaran,['norujukan' => $norujukan, 'kodcaw' => $request->txtkodcawhidden[$index1], 'bayaran' => $request->txtbayaranhidden[$index1]]); // } - $arraycollection_id = array(); + // $arraycollection_id = array(); $http = new HttpMethodsClient( new GuzzleHttpClient(), @@ -148,21 +148,21 @@ class BayaranController extends Controller Session::put('payment_method','login'); Session::save(); - foreach($request->txtkodcawhidden as $index2=>$kodcaw) - { - if(config('app.env') != 'production'){ - $collection_id = $this->collection_id; - }else{ - $collection_id = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/billplz/collectionid',[ - 'kodcaw' => $kodcaw - ])->json(); - } - array_push($arraycollection_id,$collection_id); - } + // foreach($request->txtkodcawhidden as $index2=>$kodcaw) + // { + // if(config('app.env') != 'production'){ + // $collection_id = $this->collection_id; + // }else{ + // $collection_id = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/billplz/collectionid',[ + // 'kodcaw' => $kodcaw + // ])->json(); + // } + // array_push($arraycollection_id,$collection_id); + // } $response = $bill->create( - $collection_id, + $this->collection_id, Auth::user()->email, Auth::user()->notel, Auth::user()->name, diff --git a/public/argon/img/brand/arrahnpay.jpg b/public/argon/img/brand/arrahnpay.jpg new file mode 100644 index 0000000..a989394 Binary files /dev/null and b/public/argon/img/brand/arrahnpay.jpg differ diff --git a/resources/views/auth/registerportal.blade.php b/resources/views/auth/registerportal.blade.php index ab52422..8a8228b 100644 --- a/resources/views/auth/registerportal.blade.php +++ b/resources/views/auth/registerportal.blade.php @@ -57,7 +57,7 @@
+