It's straightforward to use the same information to set both billing and shipping information. Just call both APIs with the same info:
TransactionLibrary.EditBillingInformation
TransactionLibrary.EditShipmentInformation
You can jazz it up with some jQuery to make the UI display only the required fields and expand with shipping details if the customer chooses to override shipping.
In any event it's a good idea to store both a shipping- and billing address, even if their the same, as one or the other might be changed after the fact in the back-end.
Billing & Shipping address the same?
Has anyone done something like this when the addresses are the same to prevent extra input from the buyer?
It's straightforward to use the same information to set both billing and shipping information. Just call both APIs with the same info:
You can jazz it up with some jQuery to make the UI display only the required fields and expand with shipping details if the customer chooses to override shipping.
In any event it's a good idea to store both a shipping- and billing address, even if their the same, as one or the other might be changed after the fact in the back-end.
Thanks Søren :)
is working on a reply...