Hi I dont know if this is a error on my part or if this is a Tea Commerce problem, but we have set up in the Tea Commerce and it all works perfectly but it captures an order for every visit to the site, it will save an order within Tea Commerce for every visit, this order may just be the delivery charge etc but there are hundreds of emtpy orders if I search for them, is this a Tea Commerce problem or something wrong with my code.
They have isOrder = false? If so nothing is wrong - the way to handle these carts not to get created is to use the method hasOrder before making any changes to an order. This ensures that an order isnt created - because invoking a method that needs an order - automatically creates one.
Order Capturing Error?
Hi I dont know if this is a error on my part or if this is a Tea Commerce problem, but we have set up in the Tea Commerce and it all works perfectly but it captures an order for every visit to the site, it will save an order within Tea Commerce for every visit, this order may just be the delivery charge etc but there are hundreds of emtpy orders if I search for them, is this a Tea Commerce problem or something wrong with my code.
Thanks
Jason
Hi Jason
They have isOrder = false? If so nothing is wrong - the way to handle these carts not to get created is to use the method hasOrder before making any changes to an order. This ensures that an order isnt created - because invoking a method that needs an order - automatically creates one.
Kind regards
Anders
Hi Jason
Did you manage to get this working?
Kind regards
Anders
is working on a reply...