#talker1284

1 messages ยท Page 1 of 1 (latest)

fallen lagoonBOT
chilly nest
bold flare
#

can i see that in the stripe UI?

fallen lagoonBOT
chilly nest
#

What do you mean?

#

Which UI, where?

bold flare
#

I found it, i have another question. I am creaeting a checkout session and set the customer Id. This will fill in the billing address info for me in hosted checkout as expected. I am wondering if there is a way to lock this so that they can't change it here?

            options.Customer = customerId;
            options.BillingAddressCollection = "auto";
            options.CustomerUpdate = new SessionCustomerUpdateOptions
            {
                Shipping = "auto",
            };
hollow shale
#

๐Ÿ‘‹ hopping in here since synthrider had to head out

#

I believe by default they wouldn't be allowed to update it - are you seeing somethign different?

bold flare
#

yes, it fills in the shipping addresss info for me but it's unlocked and allows the user to edit.

hollow shale
#

Ah, so that's different than the billing address - you need to set Shipping = "never" if you want it to not be edited