#isaac_checkout-existingcard

1 messages ¡ Page 1 of 1 (latest)

chrome templeBOT
#

👋 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/1286091155808850002

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sleek belfry
#

@left horizon that's mostly expected. Checkout doesn't really care about the default payment method set up for Subscriptions. It will just collect its own new card in that case

#

isaac_checkout-existingcard

left horizon
sleek belfry
#

So sorry I missed your reply entirely an hour ago

left horizon
#

I've made sure that I have allow_redisplay set to "always" and have a full billing address on the payment method and it still isn't showing up. What other criteria are there? Is there a place where this is documented?

sleek belfry
#

I wish

#

I'm sorry, this is just a huge pain to debug. Can you please provide detailed information and exact example object ids so I can have a look?

left horizon
#

What do you mean by "example object ids"?

sleek belfry
#

You are testing this flow. Please share an exact Checkout Session id cs_test_123 and exact Customer id cus_1234 and exact PaymentMethod id pm_1234 so I can have a look

left horizon
#

For sure, one sec

#

'cs_test_a17kJLwHCiIzY3VTttdpYvZs8OehQJoCtVJU4b14EuRUllkoDqSvHmt9oM', 'cus_QsFkmiGNQIzpva', 'pm_1Q0VF9It5oCpEszu8O25X89s'

sleek belfry
#

thanks give me some time to figure out what's happening

left horizon
#

For sure, I'm gonna be done for the day so no rush to get it back to me today

#

Thanks for the help!

sleek belfry
#

We help in real time here

#

Sadly we can't keep your thread opened until tomorrow

left horizon
#

ah I see

sleek belfry
left horizon
#

Oh if you're going to do it right now I can hang out for a bit longer

sleek belfry
#

Sure but it will likely take me half an hour or more and I'll have you try tons of things too

#

For example you seem to have created that PM all by hand and updated it over time. It's not a PaymentMethod you previously collected via Checkout.

left horizon
#

Ok. I'll just reach out to support tomorrow then. I appreciate the help

sleek belfry
#

Sounds good
If it helps I did this and it works fine for me

  1. Create a Checkout Session in payment mode and collect card details with a clear billing address and with the right "allow redisplay" settings
  2. Make that PaymentMethod the default
  3. Create a Checkout Session in subscription mode with that Customer id and it pre-fills my card
#

I think the issue is that you kind of did this by hand quickly with multiple steps to just create a Customer with an attached card and something is missing. Trying my way should yield the results you want

left horizon
#

Ok, I'll give that a shot, thank you!

sleek belfry
#

sure thing! Have a good night!