Fix for GoCardless

This commit is contained in:
Hillel Coren 2019-02-21 15:53:07 +02:00
parent c0bad70c0d
commit d443d3ac89

View File

@ -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) {