diff --git a/app/Ninja/PaymentDrivers/GoCardlessV2RedirectPaymentDriver.php b/app/Ninja/PaymentDrivers/GoCardlessV2RedirectPaymentDriver.php index d1d8163633a5..d2b8acf9ef71 100644 --- a/app/Ninja/PaymentDrivers/GoCardlessV2RedirectPaymentDriver.php +++ b/app/Ninja/PaymentDrivers/GoCardlessV2RedirectPaymentDriver.php @@ -110,7 +110,7 @@ class GoCardlessV2RedirectPaymentDriver extends BasePaymentDriver $calculatedSignature = hash_hmac('sha256', $rawPayload, $token); if (! hash_equals($providedSignature, $calculatedSignature)) { - throw new Exception('Signature does not match'); + throw new \Exception('Signature does not match'); } foreach ($input['events'] as $event) {