#root_checkout-address

1 messages ¡ Page 1 of 1 (latest)

fickle escarpBOT
fading remnantBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

fickle escarpBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248388873722265810

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

deft quiver
#

root_checkout-address

#

@calm monolith it's not possible to prefill the name/address today unfortunately

calm monolith
#

@deft quiver Any other way like picking up from customers billing address?

deft quiver
#

no

calm monolith
#

What all data can be prefilled?

deft quiver
#

email

calm monolith
#

hmm interesting

#

can we add the address later?
without modifying the verified status

deft quiver
#

I don't understand what you call "the verified status"

calm monolith
#

like for cards there is CVC check

deft quiver
#

the CVC check is definitely completely unrelated to prefilling the billing address.

#

I'm sorry I don't really grasp what you are asking. But after the Checkout Session completes you can update the Customer and set the address and name if you want yes

calm monolith
#

i thought customer address and the payment billing address are two different things

deft quiver
#

They are, sorry I am just guessing as I really don't understan what you are asking right now

calm monolith
#

no issues
ill try to explain again

#

So when we create a checkout session we receive a payment method and the billing address,
What i asked you is it possible to prefill the checkout session data and you mentioned email is the only thing that is prefilled.
Now i want to edit the billing address which was entered during the checkout, is it possible?

deft quiver
#

What's the reason for that edit exactly? What are you trying to do/change?

calm monolith
#

Actually i wanted that address to be prefilled for the checkout session

#

my use case is user saves a payment method now, and we charge it later after 3-4 months

#

Since billing address is already present in my app then the customer should not re enter on the stripe page

deft quiver
#

gotcha, but that's not possible to prefill on Checkout

calm monolith
#

any other workaround for this? like using any other method instead of creating checkout session

deft quiver
#

My advice: don't try to optimize for this. It takes a few seconds to enter an address for most people it's saved in their browser, or GooglePay/ApplePay/Link. You're going to spend days building something to optimize conversion that won't much help

But if you wanted to, you can use PaymentElement to accept a payment instead and pass the billing details yourself (PaymentElement doesn't collect the full address though it asks for a postal code/country and you can disable it)

calm monolith
#

Understood
thanks

deft quiver