mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-11 15:52:06 +00:00
61 - When Interfaces Aren't Enough
This commit is contained in:
@@ -23,7 +23,7 @@ class StripePaymentGateway implements PaymentGateway
|
||||
'currency' => 'usd',
|
||||
], ['api_key' => $this->apiKey]);
|
||||
} catch (InvalidRequest $e) {
|
||||
throw new PaymentFailedException;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user