#oftysterista_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/1353973745735303221
📝 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.
- oftysterista_api, 26 minutes ago, 26 messages
- oftysterista_api, 14 hours ago, 13 messages
- oftysterista_api, 22 hours ago, 88 messages
- oftysterista_api, 4 days ago, 42 messages
helo
Hi! You can pass the customer parameter to a Checkout Session: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer
if i pass the customer to the checkout session, so the checkout session form no need to input email and name again?
Yes
can we use checkout session for subscription?
Yes, you can pass subscription for the mode parameter: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-mode
if i am using checkout session for that, the payment method must be new card?
I don't understand what do you mean by new card.
i mean isnert the cardnumber manually instead of using the card that they already have
If you pass a customer object and want to prefill the customer’s card details, a valid billing address, billing name and billing email are required on the payment method for Checkout. Otherwise, the customer can add a new card by typing in their details.
i see so still can do a prefill?