alfredov Posted October 10, 2007 Share Posted October 10, 2007 After installing this great Discount Coupon Code module 3.3, I get the following error when pressing the "confirm" button: 1062 - Duplicate entry 'KZTJYL68-1489' for key 1 insert into discount_coupons_to_orders (coupons_id, orders_id) values ('KZTJYL68', '1489') [TEP STOP] When a Discount code is not used, an order will go through fine ....both a test order and customer order... But when the Discount code is used, the above error is generated - I see similar posts, but haven't found an answer yet! HELP!!!!!!! :blink: Quote Link to comment Share on other sites More sharing options...
porpoise1954 Posted October 17, 2007 Share Posted October 17, 2007 After installing this great Discount Coupon Code module 3.3, I get the following error when pressing the "confirm" button: 1062 - Duplicate entry 'KZTJYL68-1489' for key 1 insert into discount_coupons_to_orders (coupons_id, orders_id) values ('KZTJYL68', '1489') [TEP STOP] When a Discount code is not used, an order will go through fine ....both a test order and customer order... But when the Discount code is used, the above error is generated - I see similar posts, but haven't found an answer yet! HELP!!!!!!! :blink: You're trying to insert the same discount code into the table again - that's why it's telling you it's duplicated. I think you either need to be deleteing it or setting a 'used' flag. Quote * * * * * * * * * * * * * * * * * * * * * Porpoises are most happy when wet! \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.