#carot2077_unexpected
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/1243412434262167582
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
"Save my payment information for future purchase" Is that Link? How does it look like?
let me share the screenshot
hello! Can you share the Customer id and the Checkout Session id?
this is a public channel so i recommend you redact any personal information on the screenshot before sharing it
in that screenshot, namely the email address
can you repaste the customer id and checkout session?
customer id: cus_Q9rubCEYYP5EGr
session id: cs_test_b1QZcioU1AmwG1vwHuoSf1gq7O72dt6Z2CNctyhoho3NYDUs3Mn0wCJmuh
gimme a while to look into this
hmmm, okay, can you share another Checkout Session (that is unpaid) for the same customer so I can see it loading the payment method that shouldn't be saved?
Here you go alex: cs_test_b1cm2zkjInU94cEKE5zZoqbbIK8glViGTwcK7GbJcklvH97dXDFqg6LyWq
that Checkout Session has already been paid though
can I have one for the same customer that hasn't been paid yet?
Could you tell me how to make the checkout session unpaid?
you create a new Checkout Session - by default, if you don't go into the Checkout Session page to make payment, it'll be unpaid
Sorry about that, here is the unpaid checkout session:
cs_test_b1MpNMrMGYzsVuG6nFgqm85zuDyH3gkBnnVKO72I5Xjfzpb8ymWSmtuXIZ
hrm, for context, that PaymentMethod : pm_1PJYBHI6T0YnBkmyNcBX7oWl on the Customer has allow_redisplay set to limited. According to our specs https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay
Use limited to indicate that this payment method can’t always be shown to a customer in a checkout flow. For example, it can only be shown in the context of a specific subscription.
I sort of understand where you are coming from in that you would have expected the PaymentMethod to not be saved as limited and not display at all. You'll need to write in to share feedback about it though, since it looks like expected behaviour based off our specs at the moment.
If you try creating a Checkout Session for a one-off payment with that same customer, I would expect that PaymentMethod to not be shown
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.