• Resolved arhit

    (@arhit)


    A JS error upon activation breaks site:

    In the console I see:

    Uncaught IntegrationError: Please call Stripe() with your publishable key. You used an empty string.

    Is it possible to fix this? – Simply by not calling Stripe() if the Stripe publishable key isn’t entered?

    The page I need help with: [log in to see the link]

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

    (@benmeredithgmailcom)

    Hi there,

    In order to not call Stripe, you should un-select it from the list of Payment Gateways at Donations > Settings > Payment Gateways within the GiveWP interface. Any time you are using it, you should have connected to Stripe, which will make this console error go away.

    I agree that having a JS error on install is not ideal, but it’s not visible on the front end without enabling developer tools, and it’s indicating an actual problem with the site that should spur folks to enable Stripe fully or to remove it from the list of available gateways.

    I’m happy to clarify further, or if you are a developer with a better idea of how we can motivate folks to connect to Stripe, please reach out over on GitHub at https://github.com/impress-org/givewp/issues and we’re happy to collaborate.

    ​Thanks for using GiveWP! Have a great day.

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