#sweets8594
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- sweets8594, 4 days ago, 19 messages
- sweets8594, 5 days ago, 21 messages
Um I remember you need to pass a parameter on creating PaymentIntent in order to get that displayed. One minute
Ah, you need to not specifying setup_future_usage
https://github.com/stripe/stripe-ios/blob/master/CHANGELOG.md#save-payment-methods-on-payment mentioned here
When you specified it on serverside, the PaymentSheet will always save and won't display the checkbox anymore
Then what can I do to fix this
It's not to fix. It's the expected behavior. If you don't pass the setup_future_usage on backend then you will have the checkbox
No, actually without passing
setup_future_usage: 'off_session', the card is not saving and also does not get the checkbox
This is the code I'm using
Remove the line setup_future_usage and you will see the checkbox