• Resolved Encify

    (@damiafaw)


    Hi,

    In the last two weeks, we noticed that no payments were coming through the Stripe plugin and only afterpay/paypal.

    The last entry we have on the stripe dashboard reporting side, shows the last entry for payment was approx 20th April.

    Below is the error that looks to be generated when clicking Submit for the checkout, we had no problems previously and I can not work out the problem.

    Testing the connection to stripe, no problems – but when clicking submit, it just doesnt do anything except generate below error in the chrome console.

    Any help on the below error please?

    Uncaught (in promise) IntegrationError: elements.submit() must be called before stripe.createPaymentMethod(). Call elements.submit() as soon as your customer presses pay, prior to any asynchronous work. Integration guide: https://stripe.com/docs/payments/accept-a-payment-deferred

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @damiafaw

    Version 3.3.40 updated some of the credit card form logic to ensure it was using Stripe’s latest code. You have a cached version of the 3.3.39 credit-card.js script which is triggering that error.

    You need to make sure that your caching plugin is correctly flushing whenever a plugin update is downloaded to prevent script version conflicts such as this.

    These cache plugins are so aggressive that it’s becoming a real problem when plugins need to update Javascript code in releases.

    Kind Regards,

    Thread Starter Encify

    (@damiafaw)

    Thank you!!!
    Seems that Cloudflare needed to have its cache purged – I had completed it with WPRocket previously, but seems Cloudflare had to be done also.

    Looks to be working again ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Collect payment details before creating an Intent’ is closed to new replies.