How to retrieving Virtuemart billing and shipping addresses

User Rating: / 0
PoorBest 

What is the business logic to retrieve billing and shipping addresses?

 The VMConnector's web service function GetCustInfo (ws_cust_VM.php) allows you to retreive customer's billing and shipping addresses.

  1. This web service always retrieves the “BT” address.
  2. If a “ST” address has been registered and selected for shipping, the web service will retrieve the “BT” address AND the selected “ST” address within one web service function call (2 address objects).

  3. Summary:
    • If the web service call contains 2 objects, the second one is the address selected during checkout for shipping and its type is “ST”.

    • If the web service call contains 1 objects, the address selected for shipping is the default bill to address “BT

 

Join our mailing list!

Sign up to our mailing list and stay up to date!



YouTube Channel

youtube

Check out the official JoomConnector YouTube channel for product demos, tutorials and screencasts!