I'm working on a new checkout process which involves taking the shipping address first.
To do this I am setting sameAddress to 1 in my shippingAddress form.
Then, at a later stage I want to offer the customer the option to change their billing address. I thought I could just present the customer with a new form for billingAddress fields and set sameAddress to 0, or false.
However, this doesn't seem to let me override the already stored billing address. It seems that once sameAddress is set, it cannot be unset.
I have tried setting a hidden billing address when setting the shipping address but again it's not letting me override that later.
Is there way I can achieve this checkout flow?
Shipping address info -> shipping method selection -> payment (with option to use a different address for billing)?