#cnguyen-paymentelement-wallets
1 messages · Page 1 of 1 (latest)
You would use a SetupIntent if you need to authorize a card without charging
Not sure what "offine mode" is?
But yes, you could force 3DS on a SetupIntent using https://stripe.com/docs/api/setup_intents/create#create_setup_intent-payment_method_options-card-request_three_d_secure if you want to
offline mode => usage: 'off_session'
Gotcha. Then yes, that still works, usage: 'off_session' indicates how the card is going to be used in the future
OK so it will be a 3DS of $0 with the SetupIntent
And about the authorize, I suppose that this is for the pi only.
And I have an other question. Is it easy to activate google pay / apple pay ?
Payment Element, a custom integration
Okay then yeah easy to add to Payment Element. For Google Pay all you need to do is have it enabled and for Apple Pay you need to register the domain. See: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#apple-pay-and-google-pay
Just to be sure, I use the StripeElements => StripeCardElement, StripeCardNumberElement, CardCvcElement
Ah okay then that is not Payment Element
So you would either need to migrate to Payment Element (see the above doc) or integrate Payment Request Button (see: https://stripe.com/docs/stripe-js/elements/payment-request-button)
Yes we don't want to use Payment Element because we can't customize it
Gotcha then yeah Payment Request Button is what you want