From a07500d68a9e212f18aef4b05bdd90ccd58d21d9 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Wed, 24 Apr 2024 19:11:08 +0500 Subject: [PATCH] wip --- app/Repos/Payment/OnlinePaymentRepo.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Repos/Payment/OnlinePaymentRepo.php b/app/Repos/Payment/OnlinePaymentRepo.php index 1c8a83e..9fce4d0 100644 --- a/app/Repos/Payment/OnlinePaymentRepo.php +++ b/app/Repos/Payment/OnlinePaymentRepo.php @@ -60,6 +60,11 @@ class OnlinePaymentRepo ]); }); + return [ + 'a' => $paymentResponse, + 'amount' => $this->getPrice($resource->priceAmount()), + ]; + if ($paymentResponse->failed()) { return [ 'status' => 'failed',