question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Un)successful iDeal payment doesn't trigger callback

See original GitHub issue

Describe 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:

  1. 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:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ribeiroguilhermecommented, Feb 18, 2022

Thanks @Zwartpet , I will discuss this internally with the team and improve our docs. Cheers!

1reaction
Zwartpetcommented, Feb 18, 2022

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 the redirectResult 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found