#george_code

1 messages · Page 1 of 1 (latest)

long umbraBOT
#

đź‘‹ 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/1281654281598144576

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

karmic parrot
celest sand
#

If the customer already exists then yes the customer's name will be will be prefilled. 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. We go into more detail about this in our API docs here.

karmic parrot
#

If I understand this correctly, when the customer exists, it will be prefilled automatically?

#

And another question, in order for the customer to exist. Does that mean that the user should have complete at least a payment (payment mode or subscription mode) succesfully to be created/saved as a customer?

celest sand
# karmic parrot If I understand this correctly, when the customer exists, it will be prefilled a...

Yes. You'll need to create the customers during the checkout session. You can do this by passing the customer_creation parameter and setting the value to always. We have more detail on this here. You'll also need set payment_method_save to enable as mentioned here.

Learn how to accept a payment and save your customer's payment details for future purchases.

long umbraBOT