Title: Error Code &#8211; eh_stripe_pay_dead
Last modified: June 4, 2018

---

# Error Code – eh_stripe_pay_dead

 *  Resolved [tkaldridge](https://wordpress.org/support/users/tkaldridge/)
 * (@tkaldridge)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/)
 * I just started receiving this error code. The last successful purchase with Stripe
   was on May 27th. I also noticed with the updates that the only option to display
   the CC fields is with the window popup vs. the old in place fields that stayed
   on my checkout page. I reviewed the preferred cards and don’t think that the 
   customer was using anything different. Any suggestions to resolve?
 * 2018-06-03T20:34:53+00:00 DEBUG <——————- ExtensionHawk Stripe Payment ( Joy Kate
   Designs – Charge – Order #12345 ) ——————->
    stdClass Object ( [name] => Jane 
   Doe [email] => Jane Doe email [phone] => [type] => card_error [card] => [token]
   => [message] => Admin declined the payment due to Card Restriction.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [tkaldridge](https://wordpress.org/support/users/tkaldridge/)
 * (@tkaldridge)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/#post-10363330)
 * Additional info. Customer says that the popup windows does not come up when they
   try to pay with a credit card.
 *  [mujeebur](https://wordpress.org/support/users/mujeebur/)
 * (@mujeebur)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/#post-10363999)
 * Hi [@tkaldridge](https://wordpress.org/support/users/tkaldridge/),
 * The plugin always uses the popup window method for entering credit card details.
   We haven’t made any changes to that. Regarding the card decline issue, kindly
   check that if you have enabled the **Restrict Cards except Preferred Cards** 
   option. If it is enabled, only the prefered card set in the plugin settings will
   be accepted.
 * If the issue persists, kindly share the site URL so that we can check it.
 *  Thread Starter [tkaldridge](https://wordpress.org/support/users/tkaldridge/)
 * (@tkaldridge)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/#post-10536448)
 * [http://www.joykatedesigns.com](http://www.joykatedesigns.com)
 * I have still be receiving emails from customers and noticing this issue in my
   logs for the past month.
 * Any support is much appreciated!!
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/#post-10539845)
 * Hi [@tkaldridge](https://wordpress.org/support/users/tkaldridge/),
 * Could you please check in the plugin settings under **Preferred Cards** and **
   Restrict Cards**. If you have enabled the restrict cards option, only the preferred
   cards will be accepted. Please cross check and kindly contact the [Stripe support](https://support.stripe.com/)
   from your stripe account regarding the issue.
 *  Thread Starter [tkaldridge](https://wordpress.org/support/users/tkaldridge/)
 * (@tkaldridge)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/#post-10575044)
 * Webtoffee,
 * I did have the restricted card setting enabled and confirmed that a customer 
   was trying to purchase with a card (visa) I had as preferred. Error message: 
   Admin declined the payment due to Card Restriction.
 * I have since unchecked the restricted card setting. Will this create other issues?
   Anything else I can try?
 * Thanks!
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/#post-10577318)
 * Hi [@tkaldridge](https://wordpress.org/support/users/tkaldridge/),
 * We have tested with the same settings as you mentioned in our dev/testing environments
   and we were not able to replicate the issue. The payment passed successfully.
 * Anyways, glad to hear that unchecking the option worked out for you. It won’t
   cause any issues. It allows customers to use any cards to check out from your
   site.
 * If you experience any further issues, please reach us via support link [here](https://www.xadapter.com/product/stripe-payment-gateway-for-woocommerce/).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error Code – eh_stripe_pay_dead’ is closed to new replies.

 * ![](https://ps.w.org/payment-gateway-stripe-and-woocommerce-integration/assets/
   icon-256x256.gif?rev=3361775)
 * [Payment Gateway of Stripe for WooCommerce](https://wordpress.org/plugins/payment-gateway-stripe-and-woocommerce-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/payment-gateway-stripe-and-woocommerce-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/reviews/)

## Tags

 * [credit card](https://wordpress.org/support/topic-tag/credit-card/)

 * 6 replies
 * 3 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/error-code-eh_stripe_pay_dead/#post-10577318)
 * Status: resolved