[SOLVED] Order Quantity Deducted twice
Posted: Wed Dec 21, 2011 4:44 pm
Problem: When a customer orders a product the quantity gets deducted twice in my inventory. Also, the customer gets 2 mails for the same order. However, only one order is placed and the customer is charged once. I sell products in small quantities so this is very crucial.
Solution: The problem was in EBS payment gateway code. Order update function of order.php was called twice in order.tpl file.
Solution: The problem was in EBS payment gateway code. Order update function of order.php was called twice in order.tpl file.