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

Support Paypal webhooks for APMs #24

Open
yoannisj opened this issue Sep 8, 2020 · 1 comment
Open

Support Paypal webhooks for APMs #24

yoannisj opened this issue Sep 8, 2020 · 1 comment
Labels
💡 enhancement Ideas and suggestions

Comments

@yoannisj
Copy link

yoannisj commented Sep 8, 2020

Description

Although not required, the Paypal Checkout integration guide recommends implementing webhooks to consolidate the integration and as a workaround for Alternative Payment Methods (i.e. "APM") edge cases:

While the ability to display and accept APMs is included with the checkout integration, PayPal recommends subscribing to the "CHECKOUT.ORDER.APPROVED" webhook event in case a customer accidentally closes the browser and exits the checkout process after approving the transaction through their APM but before finalizing the transaction on your site.

Currently I found disabling the APMs with the javascript sdk disable-funding query argument is the easiest way to make sure this edge case is avoided, but it's a bit of a pity to give up on support for APMs, and it is not really maintainable in the long run as it requires a white-list of APM handles (the list needs to be updated if Paypal starts supporting a new APM).

@nfourtythree nfourtythree added 💡 enhancement Ideas and suggestions and removed enhancement labels Dec 7, 2020
@luis33338
Copy link

luis33338 commented Mar 24, 2021

Rama maste=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 enhancement Ideas and suggestions
Projects
None yet
Development

No branches or pull requests

3 participants