#mechdog_code
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/1404903448503259328
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- mechdog_best-practices, 5 days ago, 8 messages
- mechdog_code, 5 days ago, 11 messages
Hi, no you can use CheckoutSessions to save the payment method during the first payment by passing this: https://docs.stripe.com/api/checkout/sessions/create?api-version=2025-07-30.basil#create_checkout_session-payment_intent_data-setup_future_usage
The setup_future_usage incidates that you'd like to use this payment method in the future for other payments.
Payment method allow_redisplay is a bit different where it will surface the payment method when the customer comes back to your CheckoutSession again to purchase goods: https://docs.stripe.com/api/checkout/sessions/create?api-version=2025-07-30.basil#create_checkout_session-payment_method_data
Okay, thank you I'll try that. So if they have a payment method stored already, is there an toption that lets them select that method instead of re-entering?
Thinking of the 3DS people as well for that
Yes, and you can learn more about the requirements here: https://docs.stripe.com/payments/existing-customers
Can you add more context to your question around 3DS? I do not understand what you mean by 'Thinking of the 3DS people as well for that'
Sorry. Figuring that even if they have a card saved, they would need to be on session to complete that section to allow the charge to go thru.
When you set https://docs.stripe.com/api/checkout/sessions/create?api-version=2025-07-30.basil#create_checkout_session-payment_intent_data-setup_future_usage, we flag that to the issuing bank to optimize 3DS:
When processing card payments, Checkout also uses setup_future_usage to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.
The issuing bank still may ask for 3DS. In this case, you would need to bring them back on session for 3DS. Please review the documents carefully and let me know if you have any questions.
I think maybe when I setup the storing of the card, I didn't set the card to allow_redisplay potenitally? Would that explain why it is not showing? PS> Sorry for being so confused, appreciate the patience
Maybe, you can review the API references I shared and pass those two params
Okay, thought I was passing them but let me confirm that for sure.
You need to ensure that the billing details etc are provided: https://docs.stripe.com/payments/existing-customers?platform=web&ui=stripe-hosted#prefill-payment-fields
The payment method includes billing_details required by the Checkout Session’s billing_address_collection value:
auto requires values for email, name, and address[country]. US, CA, and GB billing addresses also require address[postal_code].
required requires values for email, name, and all address fields.
saved_payment_method_options: {
allow_redisplay_filters: ['always', 'limited', 'unspecified'],
},
This was what I was missing. Thank you!
Sure!
im sorry for replying in someone else’s thread but I really need help I planned on dropping my brand today but my payments are paused im not a fraud this is my first drop can someone please fis this
@thin stone looks like you're in the wrong place, this thread is for someone else's question.
- If you have your own thread please chat there.
- If you have a question or a followup to a closed thread use one of the buttons in https://discord.com/channels/841573134531821608/842637025524842496 to get help (we don't reopen closed threads).
Note that posting inappropriate messages in other people's threads is against the rules. No worries if this was just an honest mistake, but anyone who violates the rules multiple times will be removed from this server.