migrate *** ** * ***** **** ***
This commit is contained in:
@@ -37,7 +37,7 @@ class MakePaymentNovaVisaMaster extends Action
|
||||
}
|
||||
|
||||
return $payment['status'] === 'success'
|
||||
? ActionResponse::redirect($payment['url'])
|
||||
? ActionResponse::openInNewTab($payment['url'])
|
||||
: ActionResponse::danger('Töleg ýerinde näsazlyk!');
|
||||
}
|
||||
|
||||
@@ -78,9 +78,9 @@ class MakePaymentNovaVisaMaster extends Action
|
||||
'language' => 'ru',
|
||||
'userName' => $resource->branch->billing_username,
|
||||
'password' => $resource->branch->billing_password,
|
||||
'returnUrl' => route('online-payment-store'),
|
||||
'returnUrl' => route('online-payment-store-visa-master'),
|
||||
'pageView' => 'DESKTOP',
|
||||
'description' => 'Kart tölegi',
|
||||
'description' => 'Visa/Master tölegi',
|
||||
])->onError(function ($response) {
|
||||
Log::channel('halkbank_payment_error')
|
||||
->error('Payment error', [
|
||||
@@ -105,8 +105,8 @@ class MakePaymentNovaVisaMaster extends Action
|
||||
'description' => 'Visa/Master tölegi',
|
||||
'orderId' => $paymentResponse['orderId'],
|
||||
'formUrl' => $paymentResponse['formUrl'],
|
||||
'successUrl' => route('online-payment-store'),
|
||||
'errorUrl' => route('online-payment-store'),
|
||||
'successUrl' => route('online-payment-store-visa-master'),
|
||||
'errorUrl' => route('online-payment-store-visa-master'),
|
||||
'api_client' => config('app.url'),
|
||||
'username' => $resource->branch->billing_username,
|
||||
'paymentStatus' => OnlinePaymentRepo::PENDING,
|
||||
|
||||
Reference in New Issue
Block a user