Exemplo n.º 1
0
     echo $onePageCheckout->confirmCheckout();
     break;
 case 'process':
     echo $onePageCheckout->processCheckout();
     break;
 case 'countrySelect':
     echo $onePageCheckout->getAjaxStateField();
     break;
 case 'processLogin':
     echo $onePageCheckout->processAjaxLogin($_POST['email'], $_POST['pass']);
     break;
 case 'removeProduct':
     echo $onePageCheckout->removeProductFromCart($_POST['pID']);
     break;
 case 'updateQuantities':
     echo $onePageCheckout->updateCartProducts($_POST['qty'], $_POST['id']);
     break;
 case 'setPaymentMethod':
     echo $onePageCheckout->setPaymentMethod($_POST['method']);
     break;
 case 'setGV':
     echo $onePageCheckout->setGiftVoucher($_POST['method']);
     break;
 case 'redeemPoints':
     echo $onePageCheckout->redeemPoints($_POST['points']);
     break;
 case 'clearPoints':
     echo $onePageCheckout->clearPoints();
     break;
 case 'setShippingMethod':
     echo $onePageCheckout->setShippingMethod($_POST['method']);