wip
This commit is contained in:
@@ -147,8 +147,6 @@ class CardOrder extends Resource
|
||||
{
|
||||
$payment = (new OnlinePaymentRepo())->payCardOrder($resource);
|
||||
|
||||
info([$payment]);
|
||||
|
||||
return $payment['status'] === 'success'
|
||||
? URL::remote($payment['url'])
|
||||
: sprintf('resources/%s/%s', static::uriKey(), $resource->getKey());
|
||||
|
||||
@@ -27,7 +27,7 @@ class OnlinePaymentRepo
|
||||
'language' => 'ru',
|
||||
'userName' => $resource->branch->billing_username,
|
||||
'password' => $resource->branch->billing_password,
|
||||
'returnUrl' => urlencode(route('online-payment-store')),
|
||||
'returnUrl' => route('online-payment-store'),
|
||||
'pageView' => 'DESKTOP',
|
||||
'description' => urlencode('Kart tölegi'),
|
||||
])->onError(function ($response) {
|
||||
|
||||
Reference in New Issue
Block a user