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