Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is billing request required to submit order if no payment is required? #850

Open
flyingL123 opened this issue Apr 29, 2020 · 2 comments

Comments

@flyingL123
Copy link

If an order does not require payment, for example if a customer can pay for their entire order with store credit, a billing address should not be required to successfully submit the order.

I am trying to service.submitOrder({useStoreCredit:true}), without ever entering a billing address, but I receive an error that my billing address is invalid.

What billing address is the customer supposed to enter if they aren't required to submit payment details?

@lpschz
Copy link
Contributor

lpschz commented Apr 29, 2020

At the moment, billing address is always required. The way we modelled our checkout (UI), the payment step comes at the end, after billing address.

When entering the billing address, you might know in advance if order will require an additional payment or not.

We could look into making billing address not required if theres no payment. This change though might not happen any time soon. You could, in the meantime, just submit a dummy/empty billing address.

@flyingL123
Copy link
Author

Thanks @capsula4. Our checkout asks for billing information on the payment step (like Shopify does). In order to simplify the interface, I hide the billing address section if the selected payment method doesn't require it:

image

image

Right now I just set it equal to shipping (assuming there are physical items), but it would be nice if it wasn't required at all since certain payment methods as well as store credit do not actually need it.

Just wanted to give you some more background. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants