Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Stripe: Error: Unable to generate Payment Method ID

  • Hey Support,
    When we try to process a credit card payment in Stripe we receive the error message

    Error: Unable to generate Payment Method ID. Please contact a site administrator for assistance.

    Our stripe account is activated and connected. The error occurs in test mode as well as in live mode.
    Do you have some hints for us?
    best regards, Hannes

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ben Meredith


    Hi @haet,

    Glad you reached out here. That error usually indicates a problem preventing the Stripe JavaScript file from executing correctly, which prevents the Payment Method from being appended to the page (and subsequent API call to Stripe) correctly.

    We addressed this in the latest version of GiveWP (2.6.2) so the first step is to update to that if you haven’t already.

    If that doesn’t resolve it, another thing that you can do is to use the Stripe Checkout 2.0 method which calls the Stripe JavaScript in a different way that is unaffected by this issue.

    If using Stripe checkout 2.0 is not an option, we’ll need to be able to see a link to a form where this is happening to be able to troubleshoot further. Sometimes you can see from the front end what is causing the conflict by checking the developer’s console.

    We’re here to help get his resolved, for sure.

    Hello Ben,

    we have the latest version installed and get no clear error messages in the console, concerning the plugin.

    We have tried both, Redirect (Checkout 2.0) and Modal, with the same effect.

    Here is the link to the donations page: breatheearth

    With the modal version there is however a warning for react.js.

    Best regards

    Plugin Support Ben Meredith


    Hi @juliangk,

    It’s not possible to be getting the same error from Stripe when using the Checkout 2.0 option, as that takes the user away to Stripe to complete the donation, and doesn’t require the payment method to ever be added to the donation while you are still on the site.

    To enable Checkout, make sure that the setting at Donations > Settings > Payment Gateways > Stripe > Checkout is set to the redirect option, and then enable that gateway on the main Payment Gateway settings at Donations > Settings > Payment Gateways.

    If that works, then you should be good to go. If you still want to troubleshoot why the Stripe Credit Card option is not working, we can do that. I suspect either a theme or plugin conflict.

    Here’s an article we wrote on a method for checking for plugin or theme incompatibility using the Health Check plugin:

    Follow the steps there, and let us know if you can isolate what the conflict is. At that point, we’ll try to replicate the conflict and find a fix.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.