Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Credit Class & Gift Voucher checkout payment loop


dustins81

Recommended Posts

For customers that do not have a coupon when they try to checkout without entering a coupon into the box are infinitely redirected back to checkout_payment.php. Even if a coupon is entered and redeemed (which works fine) when the customer tries to checkout they are unable to do so becuase oscommerce comes back with an invalid coupon entered error everytime. Please Help?

Link to comment
Share on other sites

  • 1 month later...
For customers that do not have a coupon when they try to checkout without entering a coupon into the box are infinitely redirected back to checkout_payment.php. Even if a coupon is entered and redeemed (which works fine) when the customer tries to checkout they are unable to do so becuase oscommerce comes back with an invalid coupon entered error everytime. Please Help?

 

 

Took me days and a very upset girlfriend to get this right... Hope it works for everyone as I am working hard to debug this contrib. OK...

 

OPEN CATALOG/CHECKOUT_CONFIRMATION

FIND THIS....(AROUND 65 - 69)

 

if (isset($_POST['gv_redeem_code']) && ($_POST['gv_redeem_code'] == null)) {tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

 

THEN ADD: // IN FRONT TO SILENT THAT CODE

 

SHOULD WORK. HOLLA BACK...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...