#vikingviolinist

1 messages · Page 1 of 1 (latest)

smoky latchBOT
magic ember
#

Hi there

#

You are correct that you can't pre-fill shipping address. Nor can you display it as text as we don't support custom text yet (we hope to soon!)

#

That said, you can pre-fill the billing address if you pass a Customer object to the Session

#

For Shipping, there should be a button that indicates whether the Shipping Address is the same as the Billing Address

#

So this would pre-fill it in a way

quaint island
#

Ok, thank you. I'm passing the customer object to the checkout session, but need to adjust shipping rate before I redirect him to the checkout based on the zip code.

#

Can I disable shipping address collection and make the billing address readonly?

magic ember
#

No it isn't possible to make billing address read-only.

quaint island
#

Fair enough, thanks a lot