pstrid Posted January 12, 2006 Share Posted January 12, 2006 Primadude, Just used your ot_coupon.php that you posted and is does seem to address the 2x click issue but it stilll has a problem (at least on my site). When I successfully redeem a coupon, odd thing: the 'Congratulations' message that is generated uses the text from ERROR_REDEEMED_AMOUNT? So, it tells us that even though it is applying the coupon correctly, it is generating text using an ERROR redeem message which, in theory, means the coupon wasn't redeemed properly (although it seems to apply the correct coupon discount). Note: instead of fixing this problem, it appears someone just changed the ERROR_REDEEMED_AMOUNT message to a positive 'Congratulations' message instead. Maybe the ERROR_REDEEMED_AMOUNT is just mislabeled and should be called REDEEMED_AMOUNT_TEXT? I don't think this is the case because as i mentioned earlier, the message comes from Rigalin's code: tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_REDEEMED_AMOUNT), 'SSL')); // Added in v5.13a by Rigadin Ideas anyone? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.