February 20, 2021 at 4:46 pm #3641
We have the Accept Stripe Payments plugin with the Custom Fields and MailChimp addons installed and it works almost all of the time. However we are experiencing an intermittent issue where a customer enters their payment information in the form and after submitting it, the wheel just spins and nothing happens.
Looking at orders in Stripe after this occurs, they are marked as incomplete because payment method was not supplied in the data posted to stripe. Payment method is null in the json sent to stripe.
What can cause the payment method to not be passed? Shouldn’t there be some sort of error returned to the user? What causes the loading wheel to continue spinning indefinitely? Does the plugin expect a callback from Stripe?
When this occurs, there are no failures in the debug log.
Again, this is difficult to diagnose since it doesn’t happen all the time.
We are running the latest version of WordPress and the plugin.
Thank you.February 21, 2021 at 12:32 am #3642AdminKeymaster
Do you have any kind of caching solution on this site?February 21, 2021 at 5:34 pm #3644
Thank you for your reply.
Our hosting company (WPEngine) uses Varnish caching. They are suggesting that pages are cached for 10 minutes.
We have no other caching mechanism. We have had our CDN disabled throughout this troubleshooting process.
How can cache be affecting the performance of the plugin?
Thank you.February 22, 2021 at 1:11 am #3645AdminKeymaster
Some kind of conflict happening on this site. We will investigate this to see if we can think of where the conflict is coming from on this site. I have sent you an email also.February 26, 2021 at 2:06 pm #3653
This looks to be related by WPEngine caching indeed. I have implemented some measures in the code that should hopefully get this issue resolved.
Can you please install current testing version of the core plugin https://s-plugins.com/testing-version/ and let me know if this helped? Make sure to clear all WPEngine caches after you install it.March 1, 2021 at 4:34 pm #3665
Thanks for looking into this issue and releasing a plugin update. We have installed the testing version of the plugin you provided and it seems to be working well so far. The nature of our original issue is that it would work 90% of the time so the fact that the new version has not failed yet doesn’t necessarily mean it has solved the issue.
We will continue to test and use the updated version of the plugin on our live site. I will report back to you next week and let you know if we have or have not had any failures.
Thanks again.March 2, 2021 at 10:03 pm #3674
I can see on your site now that payment popup is no longer cached by WPEngine, so the temporary solution that I have implemented seems to be working.
We’re currently working on a better solution to this (and all caching-related issues in general). I’m going to ask you to install another testing version when it’s ready (most likely within couple of days from now).
Will keep you posted.March 2, 2021 at 11:14 pm #3675
I have tested the page multiple times with no errors, but today a client reported the spinning wheel/inability to submit payment. I noticed it marked as “incomplete” when I logged into Stripe.
He waited 20 minutes and then was able to submit successfully.
He was on a desktop computer using Chrome. Note on Stripe said requires_payment_method. I’m pasting the report generated on that Stripe page, but that’s all the information I have this time.
I await your new version of the plug-in and hope this solves the problem.
[payment details removed by admin]March 3, 2021 at 10:06 pm #3676
Please try new testing version https://s-plugins.com/testing-version/
It should finally deal with the issue when payment popup is cached by WPEngine.
Let me know if this helped.March 9, 2021 at 2:36 am #3710
Hi – we just threw an error during a test using iPhone 11 Safari. Could not replicate the issue on Safari desktop.
Got notification on iPHone: “Caught Exception: SyntaxError: JSON Parse error: Unable to parse JSON string.”
Can you please escalate this case somehow? This error is causing major disruption to our business. ThanksMarch 9, 2021 at 5:51 pm #3713
Also, when I hovered over the “Incomplete” entry on the Stripe dashboard (for the error thrown on iOS yesterday) it said “the customer has not entered their payment method”. We don’t require a customer to do that, though. Also, I ran an identical test again today on the iphone, and this time the payment went through. LMK if you need anything from me.March 10, 2021 at 11:58 am #3719
- You must be logged in to reply to this topic.