#himesh-reactnative
1 messages · Page 1 of 1 (latest)
it should be there as an option as long as you're using an ephemeral key with a Customer object in the integration.
^^ well he knows more than me in this xD, for me i use php so i saved the token that i got from stripe, using that token i can get the card id and more info and the token can still be charged multiple times
Yes
can you post the ID pi_xxxx of that PaymentIntent ?
Screenshot_2022-09-07_at_2.55.15_PM.png
But how come we can not modify UI which we use to open using the presentPaymentSheet() method
i need to add a checkbox there
Sure
pi_3Lez8XG0ZEyPysTX1SmUqqJ6_secret_fMqmRDzCJqd5YdjA43LsUeiz6
ah it's because you pass setup_future_usage:on_session when you create the PaymentIntent in your backend. So it will always save the card, since you're explicitly asking for that, so no point having a checkbox since you don't want the customer to be able to turn it off
if you remove that then the customer gets the checkbox and the option to save or not
So you mean if i set setup_future_usage:of_session then it will show checkbox ?
or you mean i should remove the setup_future_usage param totally ?
I mean that
okay let me just try that right now and update you here as quick as i can
OMG that really saved my 3 days THANKS a lot
saved my life man Safe 🙂