This commit is contained in:
2024-04-24 19:15:15 +05:00
parent 178eb94dfd
commit c29f23c37c

View File

@@ -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',