There was a problem during payment
-
I’m getting “There was a problem during payment; please try again later” on multiple sites that use this plugin after the latest update. Everything was fine beforehand.
-
This kind of error is generated when, for whatever reason, the plugin cannot create a PaymentSession for the customer
Could you please report here the specific error returned by stripe?
You can find it in your Stripe Dashboard, under Developers -> Logs subsection
Here you should find some failed requests, with the following description:
POST /v1/checkout/sessions
Please, enter these requests and past here the error message that you can find in response bodyDo not forget to strip any sensible data from the message, including internal stripe ids
-
This reply was modified 6 years, 9 months ago by
YITHEMES.
Thank you for your response. I will ask my client to dig out the required info, but please note I am seeing this across multiple site, all of which were updated yesterday to the latest version of the plugin. I’m pretty sure this is a bug.
Log info to follow.
Also, not that this is BEFORE the card details have even been entered. Simply selecting the stripe payment gateway and clicking “Place Order” is throwing the error. The server logs have nothing to say on the matter.
Here I am with some news on the problem
I had the chance to test a similar issue on a customer site, and I was then able to reproduce the same error on my local installation
Could you please confirm me that this is happening for guest users only?
We’re about to release a new version (expected version number: 2.0.1) to solve this specific problem
Yes! Just tested, and you are correct, the issue is affecting guest users only (which is nearly ALL users). Look forward to release 2.0.1 and the fix. Thank you for your speedy replies…
Just a quick note to inform you that version 2.0.1 is out
Do you think you could update and test?
Please, let me know if this solves the issueCurrently on an Android device. It’s getting past the checkout now, but no modal appears when you click the payment button for Stripe π
Will rest on a desktop later also and report back.
Please note that version 2.x support last version of Stripe Checkout (you can find more details on this subject here)
After clicking on “Place Order” button, you should be redirected to “Pay for order” page (as usual), and then JS code should automatically redirect you to Stripe hosted payment page, where you can enter payment details
If you get to “Pay for Order” page (step after checkout), payment session was correctly created, and we’re facing another kind of issue
In this case, my best guess is that you have some sort of JS problem
When is it possible, could you check your console to search for js errors and report here?Thank you
So, same issue on desktop. Nothing happens when clicking the button, but nothing is being output to the console either π
-
This reply was modified 6 years, 9 months ago by
Paul Scollon.
-
This reply was modified 6 years, 9 months ago by
Paul Scollon.
Interestingly, while Chrome console does not say anything, Firefox console mentions
Empty string passed to getElementById(). jquery.min.js:2:24745if that is of any use. In all tests the modal is not appearing on clicking the button. Multiple browsers tested, all extensions disabled.
However, the modal/redirect after checkout seems to work when I switch to TwentyNineteen theme, so I think we are looking at a template issue here with my site.
What are my options? Would developers help resolve if I purchased pro version? Can I buy the pro version, try to get Stripe checkout form in a popup window without redirecting away from checkout, and get a refund if it doesn’t work?
The js notice that you reported doesn’t seem related to the plugin, and unfortunately I cannot reproduce the issue that you described on my local installation
Do you think you could set up a public staging installation where I can check the problem?
I’ll need stripe set up to work in test mode for my testPlease, make sure to use default Twenty theme, and leave just WooCommerce and YITH WooCommerce Stripe enabled as plugins, to exclude any other possible point of failure
Thank you for the reply. I was editing my last comment when you replied, so please read again. In particular, as the issue seems to be my theme (default theme works, so my theme is the “point of failure”), I was wondering can I buy the pro version, try to get Stripe checkout form in a popup window without redirecting away from checkout, and get a refund if it doesnβt work?
The theme is a custom theme supplied by a third party that we MUST use so I’m looking for workarounds here. On any other website I would update the theme, or use another one.
Please, consider that unfortunately legacy version of Stripe Checkout (the one that opens up a popup without redirecting to Stripe) is no longer supported: Stripe didn’t updated it to make it SCA-compliant, and we had to drop support
Anyway, there are other options to pay without leaving checkout page; I suggest you to get in touch with our pre-sale team on our site, to have more information on premium version
Regarding your current problem, I’d be happy to help you debug the issue, as far as I can: do you think you could share with me url to your customer site?
I won’t be able to process a complete checkout, but at least I could check any problem on “Pay for Order” page (please, note that this involves creating pending payment orders)Yes please take a look. The URL is ciltskillnet.ie – it is used to book places on training places. I’ll tell the owner to expect unusual orders. We will then decide if I need to contact pre-sales, you might see something I am missing.
I just gave checkout a try
Not sure why my results differs from what you described on your previous answer, but I can see a couple of blocking js errors, both on Checkout page and on “Pay for Order” page (please, use attached screenshot for reference)
I’m currently testing on Chrome 76.0.3809
Could you please try to temporarly disable the plugin that I highlighted to see if this solves the issue?
-
This reply was modified 6 years, 9 months ago by
The topic ‘There was a problem during payment’ is closed to new replies.
