Attach coupon to customer
joshuakoh1 opened this issue · 2 comments
joshuakoh1 commented
A callback to attach a coupon to a customer would be nice on:
- Input passed on first creation of customer
- Function on stripe_user that can be called manually
https://stripe.com/docs/billing/subscriptions/coupons?dashboard-or-api=api
https://stripe.com/docs/api/customers/update
oscarychen commented
Are you using the Stripe hosted Checkout? a customer can use coupon there when checking out.
joshuakoh1 commented
@oscarychen It's different attaching a coupon to the customer vs letting them apply it themselves.
If you provide a coupon code, the customer will have a discount applied on all recurring charges. Charges you create through the API will not have the discount.