#jayrodrigues_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1296348562279497730
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Which integration are you using? Payment Element, Checkout Session... etc?
Payment elemnt
Thanks for sharing! This is how this can be done: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#save-payment-methods
So this needs to be enabled ayment_method_save_usage: 'on_session',?
You would need to create a Customer Session and element features enabled like what the doc mentioned
this is the current version of the payment form that we are using - will this version support that attribute?
Your screenshot is Card Element, not Payment Element
Very sorry, that's why I wanted to send it in case I used the wrong term
Save and retrieve customer's payment methods is only supported on Payment Element at the moment, not on Card Element
Do you have any suggestions for what we can do? Bc we can't legally save people's card details without consent.
I'm surprised Stripe does nto offer this option natively