function deleteCoupon() { global $toC_Json, $osC_Language, $osC_Payment, $osC_ShoppingCart, $osC_Currencies, $osC_Payment; $osC_ShoppingCart->deleteCoupon(); $form = toC_Json_Checkout::_getPaymentMethodForm(); $response = array('success' => true, 'form' => $form, 'go_to_payment_form' => $go_to_payment_form); echo $toC_Json->encode($response); }