News:

Looking for documentation? Take a look on our wiki

Main Menu

Create an order from an external data source

Started by ronniestamps, April 10, 2013, 08:21:02 AM

Previous topic - Next topic

ronniestamps

What would be the best way to create an order from an external data source? The external data source is a CRM on a different domain. Is this available in the api? Should I use _createOrder($_cart, $_usr, $_prices) contained in administrator/components/com_virtuemart/models/orders.php?


VM 2.0.20b
Joomla 2.5.9

Any advice is much appreciated.
Thank you in advance,

Ronnie

ronniestamps

I think I may have answered my own question or at least closer to the answer...

Could I create a $cart object on the CRM on domain X and pass it to createOrderFromCart($cart) on domain Y using JSON?