Online payment
This commit is contained in:
@@ -154,7 +154,7 @@ class MakePaymentNovaVisaMaster extends Action
|
||||
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 @@ class MakePaymentNovaVisaMaster extends Action
|
||||
'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