Online payment
This commit is contained in:
1 parent
b17357d53f
commit
94cc0e2d19
4 files changed
+76
-26
No files matched your search
@@ -154,7 +154,7 @@ public function order($resource, $amount)
|
||||
OnlinePaymentHistory::create([
|
||||
'online_paymantable_id' => $resource->id,
|
||||
'online_paymantable_type' => '\App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrder',
|
||||
'amount' => $onlinePaymentRepo->getPrice($paymentMethod == 'usd' ? '902.38' : '1058,60'),
|
||||
'amount' => number_format($amount, 2, '', ''),
|
||||
'orderNumber' => $orderNumber,
|
||||
'description' => 'Visa/Master tölegi',
|
||||
'orderId' => $paymentResponse['orderId'],
|
||||
@@ -162,7 +162,7 @@ public function order($resource, $amount)
|
||||
'successUrl' => route('online-payment-store-visa-master'),
|
||||
'errorUrl' => route('online-payment-store-visa-master'),
|
||||
'api_client' => config('app.url'),
|
||||
'username' => $resource->branch->billing_username,
|
||||
'username' => $resource->branch->billing_visa_master_username,
|
||||
'paymentStatus' => OnlinePaymentRepo::PENDING,
|
||||
]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user