(Un)successful iDeal payment doesn't trigger callback
See original GitHub issueDescribe the bug
After finishing the iDeal payment you get redirected back to the app with a redirectResult. Neither the onError
or onPaymentCompleted
callback is being called.
To Reproduce Steps to reproduce the behavior:
- Finish an iDeal payment
Expected behavior I expected the callbacks to be called so I can tell the user if the payment was successful
Desktop (please complete the following information):
- OS: Mac
- Browser: Chrome
- Version: latest
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Frequently asked questions - iDEAL
Can I revoke or undo an iDEAL payment? You can not revoke or undo an iDEAL payment. As soon as you have approved...
Read more >Payment Notification (callback_notification)
Notification Callback Triggers · A payment cannot be completed immediately. · A customer leaves the payment flow, and the OK page or open...
Read more >Callback - API documentation / RESTful API / CURO protocol
The reason is that a bank might not be able to collect the money, this can also happen after a few days. If...
Read more >Confirm a PaymentIntent – curl - Stripe API reference
Confirm that your customer intends to pay with current or provided payment method. Upon confirmation, the PaymentIntent will attempt to initiate a payment....
Read more >Notification webhooks - Adyen Docs
Events that are not triggered by a request from your side, ... for many local payment methods such as iDEAL, the outcome of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @Zwartpet , I will discuss this internally with the team and improve our docs. Cheers!
Sorry for the late response, I missed the mail with your response.
In the documentation about handling redirects there’s an example:
const checkout = await AdyenCheckout(configuration);
I misconfigured the configuration as I assumed the
sessionId
and theredirectResult
would be enough. There’s no hint that it also needs the same required configuration from the documentation above it (which is pretty obvious in hindsight)Addition: the reason I assumed configuration with sessionId was enough is because there’s a comment in that block that says:
// Configure the instance with the sessionId you extracted from the returnUrl.