I'm trying to achieve the following programmatically:
1. create user
2. login user
3. add shipping and billing address to user
4. add products to shoppingbasket
5. convert shopping basket to order and confirm order
everything seems to work fine, except step 5.
I use the method below to convert cart to order:
string result = this.OrderService.PlaceOrder(PaymentInfo, Customer, out orderID);
I keep getting excpetion that shipping total cannot be calculated.
What would be the minimal code to achieve my goal?
Thanks!