#steve_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/1237484892250439741
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Can you check if the customer and the payment method they have attached, have the required information?
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer
ID of an existing Customer, if one exists. In payment mode, the customer’s most recently saved card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page.
In subscription mode, the customer’s default payment method will be used if it’s a card, otherwise the most recently saved card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.
If i want to pass payment method id and also account id at checkout then it will make card recommended over there for payment
Not sure what you mean by that
Actually my concern is that i want to use payment method during checkout which i savind during adding payment method for a user