#Bit-setup-future-usage
1 messages · Page 1 of 1 (latest)
hehe sorry 🙂 I'll send you some screenshots
I guess you're using confirmCardPayment?
Think I spoke to you yesterday about unsetting setup_future_usage when updating a PI. Is this related?
then I get the PaymentIntent.SecretKey and pass it over the HTML part
yes it's always me
thanks for yesterday, you saved me a lot of coding, by setting it to "" solved my problem yesterday
as you can see, in the html part, I have another "setup_future_usage"
I'm using "elements"
Yep, ok
but that ClientSecret is already linked to a PaymentIntent that was created with "setup_future_usage" to "off_session"
so I don't know where I need to specify the value of it... when I create the paymentintent, or in the html part
I hope is it clearly now
The setup_future_usage parameter you pass when using confirmCardPayment will take precedence over the value you passed when creating
Why are you doing that? It's a bit confusing
okkkey
lol ok that's what I wanted to understand
perfect !
your help is so valuable... 1 minute and all is solved
thank you very much
Np!