diff --git a/CRM/Core/Payment/Stripe.php b/CRM/Core/Payment/Stripe.php
index e97b64684ec17da945d1258bc35318f38cd85e41..2e1890a519d24bbbc7c03892d16c2148fee527c4 100644
--- a/CRM/Core/Payment/Stripe.php
+++ b/CRM/Core/Payment/Stripe.php
@@ -556,7 +556,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
 
       $ignores = array(
         array(
-          'class' => Stripe_InvalidRequestError,
+          'class' => 'Stripe_InvalidRequestError',
           'type' => 'invalid_request_error',
           'message' => 'Plan already exists.',
         ),