When checking out an order after the user has done shopping, everything from location, delivery date and time including payment method is being stored in a sql statement ready to be sent to the database. However, when the user decides to leave the page without clicking on “confirm” it sends the AJAX to be sent anyway. This results on empty and redundant orders to be in the website’s database and its something the client/owner doesn’t want. As it is an annoyance.
It should be noted that the payfast module is dependent in on the “order_id” variable when at the last phase of the checkout. So removing the ajax at that point would break it. ---->(From how I see it, the payfast module doesn’t really fit with how things flow with this version of OpenCart in the checkout process. Payfast needs the order data BEFORE its created which leads to an error rather than AFTER. One could either edit the [login to view URL] or re arrange the checkout process to accommodate Payfast).