-
-
Notifications
You must be signed in to change notification settings - Fork 348
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 payment method idempotency_error when card is declined on first try #1254
Comments
Hi @Chircop97, thanks for using alf.io! By looking at the payload, it seems that you are using Stripe without having configured Strong Customer Authentication. can you please confirm if that's the case? |
That is in fact the case, I will go ahead and implement this and let you know with my result. Thanks |
Hi, so I've tried setting it up with Strong Customer Authentication and created the webhook etc, however when I try to do a payment it seems that alf.io hangs waiting for some type of response. When having a look at the logs on stripe webhook. I noticed that the request was received to stripe but had a 500 error stating that the payment provider has not been found. |
please double check that the configuration is consistent across levels (system, organization, event). If everything looks OK to you, please share screenshots of the actual configuration on all levels (see above) for the following sections:
Please mask / hide actual configuration values, I am only interested in seeing which options are set at which level, in order to reproduce the issue. |
I also checked the base URL that it doesn't have a trailing slash and its also set on all levels. The issue still persists. Something to point out is that I have an NGINX reverse proxy infront of the alfio. However traffic is not being blocked to /api endpoints, already verified it. |
Apologies for getting back to you so late. I would suggest you a couple of things:
|
The Stripe widget is not loading, the configuration is probably incorrect. |
By any chance, could it be that the platform is sending live data while in fact it should be sending test data? Since the keys im using from stripe are in test mode. If so from were can i set this within alfio? |
Update: I have re-created the webhook using the latest API version and it works successfully without any problems. Thanks for your genuine help |
Describe the bug
Whenever I try to make a payment via Stripe and the card gets declined and I try again, the application then provides an idempotencyException. This is due to the first request being done using the same reservation key.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This behaviour shouldn't happen and while the reservation should still remain intact, there should be a way to either get a new reservation ID or use another key.
Screenshots
This first image shows the first request with the card being declined.
The second image shows the second request with the idempotency error due to using the same reservation ID as the idempotency key.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: