#zerosodium_api
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/1351565359127199914
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, good question, looking in to this and will get back to you
Unfortunately it looks like we don't, though if you are talking about the name field that is part of payment method collection, you may be able to get it to stay by setting payment method collection to always.
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_method_collection
Question: do you apply these coupons yourself, or does the customer input them on the Checkout page and then the name field disappears when they do?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks for the response. I tried applying the coupons myself ~as a customer~ and the name field disappeared
let me test out setting payment method collection to always.
Error: payment_method_collection can only be used if the payment link contains recurring prices.
bummer
any other suggestions?
Ah gotcha. Not seeing other parameters that would obviously do that, it may be best to collect a name before creating your Checkout Session, then create a Customer object with that name and pass the customer's ID to the Checkout Session when creating it
got it thanks. hopefully this is possible in the future