• I updated to the latest version and now my buttons don’t work.

    I have 5 buttons. I recreated the 10 and 25 buttons after updating, so the shortcode looks like this:

    [direct-stripe value=”ds1570466286016″]

    I kept the 50, 75, and 100 which worked before the update. They have codes like this:

    [direct-stripe type=”payment” button_id=”50″ amount=”5000″ name=”Donate $50 to Lawless French” description=”Donate US$50″ label=”$50″ panellabel=”$50″]

    Regardless, when clicking any of them, the button changes color but nothing else happens.

    Firefox console shows this error:

    ReferenceError: StripeCheckout is not defined
    main.min.js:1:29
    stripe_checkout https://www.lawlessfrench.com/wp-content/plugins/direct-stripe/assets/public/dist/js/main.min.js:1
    <anonymous> https://www.lawlessfrench.com/wp-content/plugins/direct-stripe/assets/public/dist/js/main.min.js:1

    Chrome console shows this error:

    Uncaught ReferenceError: StripeCheckout is not defined
    at stripe_checkout (main.min.js:1)
    at HTMLButtonElement.<anonymous> (main.min.js:1)
    at HTMLButtonElement.dispatch (VM342 jquery.js:1)
    at HTMLButtonElement.r.handle (VM342 jquery.js:1)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @lklawless ,

    Thank you for using Direct Stripe.

    Could you test after updating to 3.0.1 ? And make sure all caches are flushed, the error shared could indicate that the assets, precisely main.min.js was not reloaded. Make sure to also flush the browser’s cache.

    Kind regards,

    lucidabox2018

    (@lucidabox2018)

    Hi I have exactly the same problem. None of my buttons work, new or old, after installing the latest version.

    fredflisbon

    (@fredflisbon)

    hello, same here, nothing happens, stuck on processing

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nothing happens when clicking button’ is closed to new replies.