Stripe Gateway Unknown Error

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 9 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12753

    Everything is configured correctly but visitors are getting an unknown error when trying to make a purchase.

    Below is a link to the screenshot. We are using the stripe gateway add-on and the api keys have been double and triple checked.
    http://www.rochesterartcenter.org/wp-content/uploads/2014/09/event_organiser_issue.jpg

    Please let me know what you think it might be.

    Neil Moeller
    #12756

    Hi Neil,

    That error would arise if the Stripe token is not present. This would normally be due to javascript errors on the page. In this case there is the following error:

    Uncaught TypeError: Cannot read property 'LivePass' of undefined player.js:289

    It’s not clear what plug-in/theme is loading the script, as it’s the source is an external location.

    In case you’re wondering why javascript errors might possibly cause a problem…
    The way stripe circumvents alot of (your) requirements for PCI compliance is, when the user clicks submit, to send via HTTPS the customer’s credit card details to Stripe’s severs, and embed in the form a token returned by Stripe. Your server never even sees the credit card details (which would otherwise cause a pain point for PCI compliance), but instead uses that token to tell which credit card to charge. The API keys which you enter ensure that Stripe knows that the token you send back to them is the on they issued and for the correct credit card.

    Embedding the token in the form is performed, by javascript, and as such any errors on the page may prevent this from working.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.