Skip to content
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

Return a Promise from adyenCheckout.start() #218

Open
erik-kallen opened this issue May 29, 2023 · 1 comment
Open

Return a Promise from adyenCheckout.start() #218

erik-kallen opened this issue May 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@erik-kallen
Copy link

Describe the solution you'd like

It would be great if adyenCheckout.start('dropin') returns a Promise that will resolve once the payment process is complete (after 3DS verification, if applicable).

Describe alternatives you've considered
This could be hacked together by creating custom promises in the component that contains the <AdyenCheckout> and react to events, but it is quite messy.

@erik-kallen erik-kallen added the enhancement New feature or request label May 29, 2023
@descorp
Copy link
Contributor

descorp commented May 31, 2023

Hey @erik-kallen

Thank you for suggestion!

We will evaluate this idea and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants