#marve
1 messages · Page 1 of 1 (latest)
👋 With PaymentElement, you use confirmPayment function.
https://stripe.com/docs/js/payment_intents/confirm_payment
I haven't tried passing setup_future_usage client-side myself as we typically require Secret API key to update the PaymentIntent.
However, I'd recommend testing it out by passing it in confirmParams
https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams
Thanks
O found it:
const stripePromise = loadStripe('pk_test_Dt4ZBItXSZT1EzmOd8yCxonL'); const options = { mode: 'payment', currency: 'usd', amount: 1099, setup_future_usage: 'off_session', };
apparently in options
Thank you!
Also one last thing
You dont support currency conversion in stripe elements right? Ive seen that you're in the process of developing it
Yeah, only checkout and Payment Links support it today
do you know when the new elements will be released?
Unfortunately, we won't have an ETA.
You can write into our support to stay updated on when its released
https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.