#tree-of-life_checkout-prefill-data

1 messages ¡ Page 1 of 1 (latest)

unreal mirageBOT
night prairieBOT
#

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.

unreal mirageBOT
#

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

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

unique glade
#

if we prefill email or anything else it only become read-only how can we make read and write as well?

#
'customer_email': 'panda@gmail.com'
``` it become read only
fossil kelp
#

What Stripe product/surface are you referring to?

unique glade
#

@runic knot

#

i do pass customer id as well but at first time payment i want to prefill address but also allow user to modify it

runic knot
#

(please don't @ me every time, we are a team and I'm not always the person helping)

unique glade
#

ah sorry this is last time

runic knot
#

all good, just flagging for next time. We're a team and whomever is talking to you can help you with all questions!

unique glade
#

.</ all good was just curious like last time u know our conservation

fossil kelp
#

Okay so we are talking about Checkout Sessions and you are prefilling info that becomes read only once you add it.

unique glade
#

yes

#

is their away to make it read and write as well when passing any prefill value to Checkout Session

fossil kelp
#

I am testing this myself and I also see a read-only (greyed out) input field for email

unique glade
#

yah is it happen on address as well?

#

i havent test it

#

give me a moment i will test it

#

yah it froze address as well bro

fossil kelp
#

I'm not sure what the card has to do with this. That can be modified at any time. But a mismatch on billing details can be problematic.

unique glade
fossil kelp
#

You can provide a different card number and it will create a new payment method and attempt to pay the charge. Stripe will send the information you provide to the issuing bank and it will be up to them to accept/decline the charge.

unique glade
#

i mean about prefill email stripe

#

assume a case - me , brother , or father account / different email but i was passing only my email on stripe

#

does it create a problem since email was read-only field

fossil kelp
#

The pre-filled email is only used to be saved to the Customer object Stripe creates (if necessary) when your Checkout Session is complete

unique glade
#

ah so it has nothing to do if we put different card

#

i guess its fine for now i will meanwhile only create some ui for address change leaving email to constant

#

but if in future if u change read-only to write as well plz let me know

#

thank you for helping bro sorry for taking ur alot of time

fossil kelp
#

I will raise that feedback. It makes sense to me that you would want to provide defaults but allow the customer to edit the data as well.

unique glade
#

have a great day bro thnx u >.</

fossil kelp
#

Happy to help, it's why we're here.

unreal mirageBOT