#monove
1 messages · Page 1 of 1 (latest)
Web Payment Element
Thanks!
In that case, yes, you should be able to toggle setup_future_usage within your confirmParams of confirmPayment() (https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams)
Uncaught (in promise) IntegrationError: stripe.confirmPayment(): do not pass setup_future_usage at confirm time. Instead, pass setup_future_usage when the PaymentIntent is created.
the reason we dont want tocreate the PaymentIntent that way is because the text loaded in the iframe says that the customer is agreeing to their payment method being stored. which they haven't opted for
Gotcha. You should be able to disable that via setting terms.card: 'never' when you create Payment Element: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-terms-card
is there a way of setting all to be never?
No you would need to set each term
Nope