mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
When using a "pick up" shipping method, with a user who doesn't have a shipping address it was impossible to proceed to the payment step because shipping address was invalid. To fix this, we ensure that "ship_address_same_as_billing" parameter is set to true when using a "pick up" shipping method. use distributor address when shipping method doesn't require a ship address ; in doing this we follow the same logic as the legacy checkout
7.1 KiB
7.1 KiB