borghe Posted July 31, 2006 Share Posted July 31, 2006 (edited) thank you steve. this is EXACTLY what I was looking for. so I could do something like: on VALIDATED/Completed: process the order fully, clear their SQL shopping cart completely, apply their voucher credit and discount code. on VALIDATED/Pending: keep everything as is BUT STILL apply their voucher credit and discount code immediately. on VALIDATED/Rejected: keep everything as is AND refund their voucher credit and reset their discount code status for the discount. this should stop any sort of exploits from occurring with customers not coming back to the site. then customers who do come back to the site I'll just rework before_process() in the paypal module so that it tidys up all tep_session variables so they match with the current session SQL data, and generates the email and the "congratulations" screens. sound good? and thanks again for the answer. Edited July 31, 2006 by borghe 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.