#zerosodium_api

1 messages ¡ Page 1 of 1 (latest)

cunning violetBOT
#

👋 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.

keen scaffold
#

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?

verbal matrix
#

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.

verbal matrix
#

Error: payment_method_collection can only be used if the payment link contains recurring prices.

#

bummer

#

any other suggestions?

keen scaffold
#

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

verbal matrix
#

got it thanks. hopefully this is possible in the future