Place Order disabled when stripe default
-
Updated WordPress to v6.9 today, plus WooCommerce v10.4.3 and Stripe Payments v3.3.89.
Checkout page shows stripe payment selected and paypal not selected.
PLACE ORDER button is “disabled”.
Click PAYPAL option and PLACE ORDER gets enabled.
Click STRIPE and PLACE ORDER is enabled.
Something is preventing it being enabled on page load.
The page I need help with: [log in to see the link]
-
As a workaround we have swapped the order of the payment methods so PAYPAL is DEFAULT.
The PLACE ORDER button works for both methods now.
When we had the same versions on a STAGING site but with Stripe in TEST mode, the PLACE ORDER button was working.
Actually on STAGIING we have Stripe v3.3.97
Updating to v3.3.98 on STAGING causes the PLACE ORDER button to be not active, as per LIVE.
Uploading the v3.3.97 files back causes the PLACE ORDER button to be active again.
Hi @ph1lm
Can you share a link to your staging site where this behavior can be observed? I am not able to replicate in my tests.
Kind Regards
The STAGING site has v3.3.97 which is OK (we updated a while ago so v3.3.97 was the latest at the time)
The LIVE site updated to v3.3.98 which did not enable PLACE ORDER (stripe “Credit Card” is default payment method)
Tried Troubleshooting mode via Health Check plugin with ACF Pro, WooCommerce and Stripe Plugins enabled. (theme assumes ACF Pro is enabled!) Same problem.
(selecting another method enabled PLACE ORDER, and selecting strip also enabled PLACE ORDER!)
(also can swap order of methods so other is default, PLACE ORDER enabled for both)
Also tried a default theme. Same problem.
Installing v3.3.97 on LIVE (upload zip of that version) instead made the PLACE ORDER button enabled as expected and as per STAGING.
Hope this helps?
Hi @ph1lm
If you can share the staging site URL where this behavior can be replicated that would be the best way to troubleshoot. There weren’t any changes made to version 3.3.98 related to the place order button.
If you’re using a cache then it’s likely related to that. Some script locations were changed which could affect cache plugins.
Kind Regards
Hello, I am having the same issue. I updated this am to 3.3.98, and this disabled the Place Order button. I rolled back to 3.3.97, and the issue was resolved. I am not using a dev site, and had the issue on our live site. Seems like the same issue as @ph1lm, so I will await your resolution on his issue.
Hi @howardmw
This is likely due to your cache settings. Can you confirm your use of a cache plugin? The new Apple Pay scripts are located in a different directory and that’s likely why you observe the issue when Apple Pay is enabled.
It would be helpful to observe the site where you are seeing the place order button disabled. In all our testing we cannot replicate this issue.
Kind Regards
I had this issue as well. My Place Order button did not work for a customer that called in to report the issue. I purged the cache for my site as suggested above, but it did not fix the issue for the customer. As soon as I rolled back to 3.3.97 my customer was able to place his order. I also am not using a dev site. I looked through my logs and couldn’t see anything there.
Hi @jkomar
Are you able to enable version 3.3.98 so we can take a look? We’re not able to replicate the issue on our send so the only way to observe it is on one the sites reporting the issue.
Kind Regards
I have updated to 3.3.98 again. I have also purged the site cache (Varnish) using the object cache pro plugin. My URL is https://cuttingfluid.online
Thanks.
Hi @jkomar
The place order button was enabled and I did not encounter the issue. Here is a screenshot showing the HTML of the place order button.
Was this a returning customer or a new customer?
I observed the following Javascript error on your site, but it didn’t interfere with the place order button.
astra-addon-695d3e44…629.js?ver=4.12.0:1 Uncaught SyntaxError: Failed to execute 'querySelector' on 'Element': ':selected' is not a valid selector.
at addAnimateClass (astra-addon-695d3e44…?ver=4.12.0:1:22277)
at HTMLSelectElement.<anonymous> (astra-addon-695d3e44…?ver=4.12.0:1:22014)Are there any special steps I need to follow to replicate?
Kind Regards
This was a returning customer. From what he reported, he filled out the information in the checkout and when he clicked the Place Order button, it just didn’t do anything.
Thanks.
I am on @jkomar’s site, and the place order button is NOT live after adding the address and cc info. But, if I click googlepay and then click back to credit cards, the button is live. This is before I click googlepay:
And when I reload the page, it happens again: Place Order button not active until switching back and forth from google pay to credit cards.
Not sure if this is helpful (I am not a programmer), but here is the element when the button is inactive:
https://js.stripe.com/v3/elements-inner-express-checkout-ded0a478066b3c5bbce23af3f521b13c.html#__shared_params__%5Bversion%5D=v3&__shared_params__%5Blight_experiment_assignments%5D=%7B%22token%22%3A%22f495545c-3001-4f2d-a167-0a30defed449%22%2C%22assignments%22%3A%7B%7D%7D&wait=false&rtl=false&publicOptions%5BbuttonHeight%5D=40&publicOptions%5BbuttonTheme%5D%5BapplePay%5D=black&publicOptions%5BbuttonType%5D%5BapplePay%5D=plain&publicOptions%5BpaymentMethods%5D%5BapplePay%5D=always&publicOptions%5BpaymentMethods%5D%5BgooglePay%5D=never&publicOptions%5BpaymentMethods%5D%5Bpaypal%5D=never&publicOptions%5BpaymentMethods%5D%5Blink%5D=never&publicOptions%5BpaymentMethods%5D%5Bklarna%5D=never&publicOptions%5BpaymentMethods%5D%5BamazonPay%5D=never&publicOptions%5BbillingAddressRequired%5D=true&publicOptions%5BemailRequired%5D=false&publicOptions%5BphoneNumberRequired%5D=true&publicOptions%5BshippingAddressRequired%5D=true&elementsInitSource=stripe.elements&elementId=expressCheckout-147f7ec8-31cb-4264-a73d-dbe008dd40e8&componentName=expressCheckout&keyMode=live&apiKey=pk_live_51EfUk8AWR9nGqJkdd3Io3CPJKdbSVASPFQwEJW3SuXIQdnXhdpE7cEUfPCBnudRyYTmb8ZfJdmW4ME9QD32Ki1ri00wdUH1FT3&frameMessagingStrategy=direct&referrer=https%3A%2F%2Fcuttingfluid.online%2Fcheckout%2F&controllerId=__privateStripeController3181
And here it is after i switch to google pay and back to make it active:
Place Order US$321.82
You must be logged in to reply to this topic.