-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe Express integration error #2302
Comments
@mralaminahamed, this is from now: The customer managed to leave the checkout and then returned. In this way he started a new session and succeed the payment. One question. At least, is there a way to translate "You cannot modify the customer on a PaymentIntent once it has already been set. To fulfill a payment with a different customer, cancel this PaymentIntent and create a new one." into something that make sense to the customer: in order to make a payment, leave the checkout and come back to open a new payment session? Thank you! |
hello @daniel-toader. Thank you for bringing this to our attention. I've reviewed the situation, and here's what we need to understand: The error message comes directly from Stripe's server when Dokan Pro fails to update customer data (like card info) during the payment process. This message is sent as an exception from Stripe, which means we can't directly translate or modify it. |
This integration error seems to occur only when the customer places an order as a guest. |
@daniel-toader, Thank you for this valuable information about the guest checkout issue. To resolve this efficiently, I recommend contacting our support team directly. They can conduct specific tests on your setup and provide tailored solutions. When reaching out, please reference issue #2302 and mention the Stripe Express integration error during guest checkouts. This will help our team assist you more effectively. We appreciate your patience and feedback. It's crucial in helping us improve Dokan Pro for all users. |
I've open the support ticket on 20 June and they advised me to address the issue here on GitHub :) I've mentioned this at the start. This is not related to my setup. |
Hello @dan504301, Thank you for your continued feedback and for bringing this issue to our attention. I've thoroughly investigated the Stripe Express integration error you reported, focusing on the latest concerns you shared. I've attempted to reproduce the issue following the steps you provided, but I haven't been able to replicate the problem on my end. |
Hello @mralaminahamed, the initial integration error was fixed, thank you. Now we have a new one that is related with this fix (#2330), this new integration error is only visible in the Stripe Dashboard. Dashboard > Developers The warning is only visible on the top right corner. |
Bug Description
On June 20th, I opened a support ticket on dokan.co (#67904).
Fast forward to today, I received a response from Md Fayeakuzzaman advising me to address my issue here on GitHub / Dokan.
The related similar issue: #2168
Here's the new issue I'm encountering with the Stripe Express integration: When a customer changes their card, a problem occurs.
Step To Reproduce
I enabled test mode using a Stripe Express test account and test cards, which can be found here: https://docs.stripe.com/testing.
Steps to reproduce the integration error:
I attempted a payment with a Stripe test card that had insufficient funds, using the number 4000000000009995.
Result: "Payment failed, insufficient funds."
Without leaving the checkout page or making any changes, I then attempted to complete the order using a different Stripe test card, the well-known 4242424242424242.
On the first click on the place the order button: "We're not able to process this payment. Please try again later."
On the second click on the place the order button: "You cannot modify the customer on a PaymentIntent once it has already been set. To fulfill a payment with a different customer, cancel this PaymentIntent and create a new one."
Leaving the checkout and returning starts a new payment session, and the payment with the second test card is successful.
Expected Behaviour
Ideally, the payment intent should update to the "new customer" or retain the "old customer" given the client is the same, and only the card changes.
The text was updated successfully, but these errors were encountered: