We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2100ae commit 039baf8Copy full SHA for 039baf8
src/Services/PaymentHandlers/Paystack.php
@@ -93,7 +93,11 @@ public function processValueForTransaction(string $transactionReferenceIdNumber)
93
94
public function reQuery(Payment $existingPayment): ?ReQuery
95
{
96
- $verificationResponse = $this->verifyPaystackTransaction($existingPayment->transaction_reference);
+ try {
97
+ $verificationResponse = $this->verifyPaystackTransaction($existingPayment->processor_transaction_reference);
98
+ } catch (\Throwable $th) {
99
+ return new ReQuery($existingPayment, $th->getMessage());
100
+ }
101
102
// status should be true if there was a successful call
103
if (!$verificationResponse->status) {
0 commit comments