#Jeremy T.

1 messages ยท Page 1 of 1 (latest)

waxen acornBOT
warped dome
#

To not show? Why would you want that?

potent karma
#

I understand the sentiment but we have a requirement where it's "better" for us not to show the challenge flow because it breaks our "user experience". And I guess its fine (for now) if the transaction fails if it requires 3DS2.

#

Also, just so I understand it correctly. "confirm = true" means our server (for example) does the creation and confirmation of the PaymentIntent, right?

warped dome
warped dome
potent karma
warped dome
#

Do what?

#

Can you share an example PI?

potent karma
# warped dome Do what?

Not showing the challenge flow using the mobile SDKs confirmPayment() or confirmPaymentIntent().

Or is the best way to handle this is, by checking the requires_action during the PI creation from our server before we forward to the client app to confirmPayment()? Am I making sense?

warped dome
#

Well, it depends on how you're creating the Payment Intent. Are you passing a pm_xxx or are you collecting payment data in the UI before confirmation

#

This is why I asked for an example pi_xxx

potent karma
# warped dome This is why I asked for an example `pi_xxx`

Can you help me check this one pi_3LmZEZBd8PxzBU0N1PtN1OcF?

Currently, I have this flow.
Server creates PI -> Mobile confirmPayment() -> 3DS challenge flow is shown -> Confirm/Fail/Cancel -> Server checks the webhook status.

The flow I want to achieve is.
Server creates PI -> Mobile confirmPayment() -> DO NOT show the 3DS challenge flow -> Server checks the webhook status (if needed?)

warped dome
#

i.e. are they saved on file already?

#

Or do you collect payment details during the payment flow sometimes?

potent karma
#

We saved the payment_method already and should be attached the Stripe customer details.

So we have a functionality to save the payment method. Then using that saved payment method we try to collect the payment later (not a subscription based).

warped dome
#

There's no need for confirmPayment at all

potent karma
#

Gotcha. I know how to proceed now. Thank you for the help @warped dome. ๐Ÿ™‡โ€โ™‚๏ธ