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

MobilePay is not supported, while specified otherwise in the docs #1786

Open
romantseg opened this issue Dec 3, 2024 · 1 comment
Open

Comments

@romantseg
Copy link

Describe the bug
In Stripe Documentation for MobilePay, it is clearly specified how to accept a payment. However, this doesn't seem to be possible:

  1. In ConfirmParams there is no mention of MobilePay.
  2. When trying to confirm the payment (ignoring typescript errors) with
            void confirmPayment(stripePaymentIntentClientSecret, {
              paymentMethodType: "MobilePay",
            })

consistently get `"This payment type is not supported yet". At the same time, payment appears in Stripe Dashboard in incomplete status, and expires after some time.

To Reproduce
Steps to reproduce the behavior:

  1. Integrate MobilePay according to the docs
  2. Attempt to pay
  3. Payment appears in Stripe Dashboard
  4. Attempt to confirm payment on mobile

Expected behavior
Confirmation flow for MobilePay gets started

Smartphone (please complete the following information):

  • Device: iPhone 16
  • OS: iOS 18.1
@romantseg
Copy link
Author

Update a bit later. I made this work in "undocumented" way, by first attempting to confirm the payment in the API, which in turn produces redirectUrl and somehow after that, it is possible to confirm on mobile.

The idea for this case from Direct API flow on web, where first confirm happens on the API.

so it seems that at the very least documentation is missing a crucial step and TypeScript error remains

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