Skip to content
Snippets Groups Projects
Commit c7398e8d authored by drastik's avatar drastik
Browse files

* Fix Use of undefined constant Stripe_Error.

parent c72b177e
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
<br /> $error_message", $error_url);
}
catch (Exception $e) {
if (is_a($e, Stripe_Error)) {
if (is_a($e, 'Stripe_Error')) {
foreach ($ignores as $ignore) {
if (is_a($e, $ignore['class'])) {
$body = $e->getJsonBody();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment