Skip to content
Discussion options

You must be logged in to vote

I'm sorry we never answered this! To answer directly, if your server confirms the PaymentIntent (not typically recommended), you should set setup_future_usage if shouldSavePaymentMethod == true. If your server doesn't confirm, it should all work automatically.

We highly recommend using ConfirmationTokens (the guide linked above demonstrates that API now), which takes care of saving payment methods automatically, including when your server confirms the PaymentIntent - there is no shouldSavePaymentMethod value to read anymore.

If you run into problems with any of this please open an issue!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yuki-stripe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants