This commit is contained in:
nurmuhammet committed 2024-04-24 19:15:15 +05:00
1 parent 178eb94dfd
commit c29f23c37c
1 file changed
+1 -6
+1 -6
View File
@@ -50,7 +50,7 @@ public function payCardOrder($resource): array
'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 @@ public function payCardOrder($resource): array
]);
});
return [
'a' => $paymentResponse->body(),
'amount' => $this->getPrice($resource->priceAmount()),
];
if ($paymentResponse->failed()) {
return [
'status' => 'failed',