• Resolved Sarang A. Shahane

    (@sarangshahane)


    Hello Team,

    I hope you are well as safe.

    In the latest update of Stripe, the payment scripts are not getting enqueued on the CartFlows Checkout page.

    It is because in the older version there was a condition as is_cart() and is_checkout()
    but in the newer version, there are no such conditions available.

    As the CartFlows checkout page is a custom checkout page, the current condition in the newer version is not allowing the plugin to load the payment script.

    This is creating an issue on the CartFlows page so to solve this issue, can you please restore those conditions?

    I hope this helps you.

    I am looking forward to hearing from you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • I was just about to re-post my post on another thread that dealt with this… here’s a copy/paste:

    Just an FYI, the latest update released hours ago removed the credit card data textboxes. No problems with renewals, however I had a customer contact me asking where to enter the credit card information and when I went to look (in a private browser window), the textboxes were gone. I reverted the plugin to the previous version and it started to work again. I’m running the latest version of everything other than this plugin.

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hey there @ajtek & @sarangshahane

    I tested on my site with WooCommerce 5.4.1 and Stripe 5.2.2, however, I’m not able to replicate the issue. Here’s a screenshot of my testing: https://d.pr/i/8EPFHf

    Could you try switching the theme to Storefront to see if that resolves the issue?

    Let us know how it goes!

    I had the exact same problem with CarFlows and Stripe 5.2.2
    Rolled back to 5.2.0 and everything is working again.

    Thread Starter Sarang A. Shahane

    (@sarangshahane)

    Hello @simplysaru

    Thank you for the reply. It seems that you haven’t checked the issue with th CartFlows on the CartFlows page.

    Let me guide you to setup. First, download the CartFlows free plugin on your test website.

    After installing the CartFlows, create a one flow and assign a product on that checkout page or you can set that CartFlows Checkout page as a Global Checkout page to simplify the process.

    Now, if you have set the page as global checkout, then simple add any product in the cart and proceed to the checkout/payment page.

    On that page you will be able to see that the card icons will be in large format and the payment scripts will not be loaded along with no input fields to fill the card details.

    Here is the screenshots for ref:
    https://bit.ly/3xeJwrY
    https://bit.ly/2SpXV5C

    Also, here is the screenshot of the piece of code that is causing this issue.
    – Current code which is causing the issue: https://bit.ly/2TUPj7v
    – Older condition which was working: https://bit.ly/3gbafQu

    Actually, the current condition which is added is not complete or has bug there should be is_cart() & is_checkout() should have used. Even if you want to keep the current condition as it is then there is to be older conditions as per the below reference.
    https://bit.ly/2Sr8UMg
    https://bit.ly/3zkNNMb

    I hope this clarifies you the picture and the exact issue. Please let me know if in case you need any more information.

    I am looking forward to hearing from you.

    I agree with @sarangshahane

    As soon as I updated the plugin to the 5.2.2 it no longer shows the CC field if your using Cart Flows.

    I am going to have to take my 5.2.0 from another website I built and use that version.

    Hopefully you will have a fix for this very soon.

    Thank you in advance.

    Plugin Support melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    Hi there!

    Is stripe correctly working for you if you disable Cartflows? If so, then you’ll want to reach out to the folks at Cartflow to see if they can update things to work with the latest version of Stripe.

    It’s not just CartFlows though! Look at the last 4/5 topics it’s happening to uses that aren’t even using extra plugins!!

    5.2.1/2 are not functioning correctly

    Thread Starter Sarang A. Shahane

    (@sarangshahane)

    Hello @melindahelt

    Yes your case is correct, the stripe is working with the default checkout page of WooCommerce.

    The reason is that the stripe plugin is checking that weather the woocommerce-checkout shortcode is present in the post/page content or not.

    But the CartFlows checkout page is a custom checkout where this is not working.

    If you look into my second reply, you will get more idea on it. I have provided a full information with the condition in stripe which is causing the issue.

    Please let me know, how to fix it.

    I am looking forward to hearing from you.

    Same issue here! We use Cartflows and now the Stripe payment fields are gone. I had to roll us back to version 5.2.0 for it to work again.

    Hopefully this is fixed or the Cartflows devs can make an update soon.

    Plugin Support Jess – a11n

    (@jlundie)

    Hi all!

    Thanks so much for all the reports and details on this issue.

    Our developers have identified the cause and are working on a fix for it now. Keep an eye out for an update with a fix coming very soon!

    In the meantime, as noted by other users in this thread, we recommend rolling back to version 5.2.0. You can access that here: https://www.ads-software.com/plugins/woocommerce-gateway-stripe/advanced/ Scroll to the bottom of the page, and select 5.2.0 from the Previous Versions dropdown.

    Plugin Support Adam Heckler

    (@adamkheckler)

    Stripe 5.2.3 has been released with a fix for this issue. ?? Please try it out and let us know if you still run into any problems.

    Thanks!

    I can confirm 5.2.3 is now working. Thank you ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Issue on CartFlows Checkout page with the latest update of Stripe’ is closed to new replies.