From ccda36a7451ba665670f51fad581c99ff8d04901 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 23 Nov 2021 16:18:16 +1100 Subject: [PATCH] wepay fixes --- app/PaymentDrivers/WePayPaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/WePayPaymentDriver.php b/app/PaymentDrivers/WePayPaymentDriver.php index 73b8d7573949..a0009fb6cd4b 100644 --- a/app/PaymentDrivers/WePayPaymentDriver.php +++ b/app/PaymentDrivers/WePayPaymentDriver.php @@ -208,7 +208,7 @@ class WePayPaymentDriver extends BaseDriver return 'Processed successfully'; } elseif ($objectType == 'account') { - if ($accountId !== $objectId) { + if ($accountId != $objectId) { throw new \Exception('Unknown account ' . $accountId . ' does not equal '.$objectId); }