From c29f23c37cfedb999548fe5fbdeb396cb32ad47c Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Wed, 24 Apr 2024 19:15:15 +0500 Subject: [PATCH] wip --- app/Repos/Payment/OnlinePaymentRepo.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Repos/Payment/OnlinePaymentRepo.php b/app/Repos/Payment/OnlinePaymentRepo.php index fb5f9ae..af2cef6 100644 --- a/app/Repos/Payment/OnlinePaymentRepo.php +++ b/app/Repos/Payment/OnlinePaymentRepo.php @@ -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',