#dinkledorph_api

1 messages · Page 1 of 1 (latest)

verbal lodgeBOT
#

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

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

ashen sphinx
#

I'm available for screenshare and call if needed!

main quest
#

A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.

#

I don't see a complete address on that payment method

#

Try fixing that

ashen sphinx
#

What counts as a complete address? The payment method was created through this same checkout form the first time through; does it not create it in a way to satisfy that requirement?

#

Oh I see, when you expand the details the address is empty.

#

Would this mean I would have to create the payment method with an address BEFORE creating the checkout session, to make sure it can be reused for future sessions?

#

Or can I force those required fields to be fille during first time checkout?

#

Sorry if that's already explained in the docs somewhere, just figure it's faster asking here now that I've got someone 😉

#

Maybe something like saved_payment_method_options.payment_method_save?

main quest
#

Ah yeah

#

It's been a while since I looked at this, but there are some restrictions. Recommend reading that doc

#

You can use saved_payment_method_options.payment_method_save to let customers save their payment method and prefill it on return purchases.

ashen sphinx
#

Problem solved! Thanks so much. The docs are fantastic, just tough to find what you want sometimes. Appreciate the help, have a great day 👍