generate coupon when purchase reaches 1000 done