From e70f4fafcb59c6e9444a2011ae9f29892d564c2d Mon Sep 17 00:00:00 2001 From: nafezly Date: Mon, 7 Aug 2023 21:55:16 +0300 Subject: [PATCH] updates --- src/Classes/PerfectMoneyPayment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Classes/PerfectMoneyPayment.php b/src/Classes/PerfectMoneyPayment.php index 761c0f4..818590d 100644 --- a/src/Classes/PerfectMoneyPayment.php +++ b/src/Classes/PerfectMoneyPayment.php @@ -88,14 +88,14 @@ public function verify(Request $request) if ($v2_hash === $request['V2_HASH'] ) { return [ 'success' => true, - 'payment_id'=>$paymentId, + 'payment_id'=>$request['PAYMENT_ID'], 'message' => __('nafezly::messages.PAYMENT_FAILED'), 'process_data' => $request->all() ]; } else { return [ 'success' => false, - 'payment_id'=>$paymentId, + 'payment_id'=>$request['PAYMENT_ID'], 'message' => __('nafezly::messages.PAYMENT_FAILED'), 'process_data' => $request->all() ];