wip
This commit is contained in:
1 parent
178eb94dfd
commit
c29f23c37c
1 file changed
+1
-6
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user