add coupon support
Merge pull request #16 from hypo/coupon

add coupon support