Hello, Which table/field tells me the coupon code used, by userid? I can't find it in the amuser table.
You can find it in table am_invoice. Here is MySQL query you can use to retrive it Code: SELECT DISTINCT coupon_code FROM am_invoice WHERE user_id=1 AND status<>0 replace 1 with actual user id in query above.