• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Error 500 not explaining reason for failure

[Support request] Error 500 not explaining reason for failure

· ·

Home › Forums › Stripe Payments Plugin › Error 500 not explaining reason for failure

  • This topic has 6 replies, 2 voices, and was last updated 4 years, 5 months ago by Volvi.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 16, 2020 at 9:01 pm #3470
    Volvi
    Participant

    Hi! Your plugins are working great, but have a question/suggestion about when payments fail. I am getting a lot of payments failing with an error 500 – when I look up on Stripe the reason, it’s because the person entered the wrong zip-code, which makes perfect sense, but it only tells the user that it’s an ‘error 500’. Is there any way of informing them why it’s been blocked, so that they don’t contact us complaining our website doesn’t work properly (even though it is behaving as we would want!)

    Thanks!

    December 16, 2020 at 11:35 pm #3471
    Admin
    Keymaster

    Something else on this server is preventing the plugin from fully completing the process that’s why you are seeing an abnormal behavior. The server’s error log will have more details as to what it is complaining about. So look at the server’s error log file immediately after the Error 500 is triggered by the server. The latest entries in that error log file will have clues as to what is failing. The message in the error log file may look cryptic, if you share the error messages from that file, we should be able to read it and provide help.

    December 19, 2020 at 11:52 am #3474
    Volvi
    Participant

    Hey, thanks for the reply. My error log contains this:

    [18-Dec-2020 10:51:50 UTC] PHP Fatal error: Uncaught (Status 402) (Request req_qyZA1C8lTZacXu) The zip code you supplied failed validation.
    thrown in /home/deadlock/public_html/digital/wp-content/plugins/stripe-payments/includes/stripe/lib/Exception/ApiErrorException.php on line 38

    December 20, 2020 at 12:19 am #3475
    Admin
    Keymaster

    Looks like the zip code verification is failing. Did you enable that option in your Stripe account?

    December 23, 2020 at 8:45 pm #3488
    Volvi
    Participant

    Yes. I know why it is, I just want to figure out how to tell the customer. How to change Error 500 to something like ‘Zip code verification failed’.

    December 23, 2020 at 11:26 pm #3490
    Admin
    Keymaster

    Something else is going on there. That error is not supposed to show as a 500 error. The error is being triggered by the Stripe’s library (that is given to us by Stripe). Are you using the latest version of our plugin and any addons (to make sure the latest Stripe library is being used)?

    Post the URL of the page where the payment button is so I can inspect a couple of things using my browser.

    December 23, 2020 at 11:44 pm #3491
    Volvi
    Participant

    Ahh I see… Yes I am using the latest version of all.

    Here’s a purchase page:[deadlockedrooms.com/digital/asp-products/the-cyphstress/]

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.