wip
This commit is contained in:
@@ -50,7 +50,7 @@ class OnlinePaymentRepo
|
|||||||
'password' => $resource->branch->billing_password,
|
'password' => $resource->branch->billing_password,
|
||||||
'returnUrl' => route('online-payment-store'),
|
'returnUrl' => route('online-payment-store'),
|
||||||
'pageView' => 'DESKTOP',
|
'pageView' => 'DESKTOP',
|
||||||
'description' => urlencode('Kart tölegi'),
|
'description' => 'Kart tölegi',
|
||||||
])->onError(function ($response) {
|
])->onError(function ($response) {
|
||||||
Log::channel('halkbank_payment_error')
|
Log::channel('halkbank_payment_error')
|
||||||
->error('Payment error', [
|
->error('Payment error', [
|
||||||
@@ -60,11 +60,6 @@ class OnlinePaymentRepo
|
|||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
return [
|
|
||||||
'a' => $paymentResponse->body(),
|
|
||||||
'amount' => $this->getPrice($resource->priceAmount()),
|
|
||||||
];
|
|
||||||
|
|
||||||
if ($paymentResponse->failed()) {
|
if ($paymentResponse->failed()) {
|
||||||
return [
|
return [
|
||||||
'status' => 'failed',
|
'status' => 'failed',
|
||||||
|
|||||||
Reference in New Issue
Block a user