Skip to content

Shipping Address Form vs Billing Address Form? #629

@osseonews

Description

@osseonews

I am hoping someone here can explain the React Components library, BillingAddressForm vs ShippingAddressForm. I have looked everywhere and from what I can tell, neither the Addresses Object or the Customer Addresses object has anything related to Shipping or Billing. Everything is just an address and it is irrelevant if it is a billing or shipping address, when you save an address and then associate it with the customer. The billing or shipping is only relevant for the order address, when you assign it. So why when you are saving an address is there a different form for a Billing Address or a Shippping Address and where does that show up in a database? In looking at the API, you save an address with the sdk.addresses and then associated that id with the customer addresses. What does that have anything to do with shipping and billing and why would there be a separate form for both? Also, in looking at the React Components library, I see the addresses are tagged with "resource", but there is nothing in the addresses or customer addresses with "resource". Please explain thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions