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

ApplePay: createPlatformPayPaymentMethod + confirmPlatformPayPayment #1814

Open
angelica-snowit opened this issue Jan 23, 2025 · 0 comments
Open

Comments

@angelica-snowit
Copy link

angelica-snowit commented Jan 23, 2025

The flow of our application is as follows:

  • When the user clicks the PAY button, I call createPlatformPayPaymentMethod to obtain the paymentMethod to send to our backend.
  • Our backend responds by requesting a confirmation action.
  • I use the confirmPlatformPayPayment function to confirm, and the payment is successfully processed.

This is more or less the same flow as on the website (with different function names, of course). Everything works, but from the user's perspective, it feels like they are paying twice because the same screen appears twice (both with createPlatformPayPaymentMethod and confirmPlatformPayPayment). This behavior is clearer in the attached video. This only happens with ApplePay, on Android the user action required it's just one.

This issue was reported in production, and I can’t tell whether it started happening at some point or has always been this way, though it seems strange to me. I am currently using version 0.39.

0f6706f9-5007-4ab1-a2e5-d1ba0e5d5e87.1.mp4

Any advice or suggestion?

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

No branches or pull requests

1 participant