Cashier-stripe: Better coupon support & promotion codes

Created on 14 Jan 2020  路  3Comments  路  Source: laravel/cashier-stripe

Add some better APIs to work with coupons on subscriptions, etc so people don't need to do this themselves with the Stripe SDK. Add a specific Coupon object.

Things to consider:

  • Coupon object
  • Validate coupons
  • Retrieve coupon code from subscriptions
  • Update coupon code on subscriptions
enhancement

Most helpful comment

Don't forget the (new) Promotion Codes feature!
https://stripe.com/docs/billing/subscriptions/discounts/codes

All 3 comments

Don't forget the (new) Promotion Codes feature!
https://stripe.com/docs/billing/subscriptions/discounts/codes

@ReckeDJ been looking into that today a bit as part of #1007. Think we can add some simple methods for that as well.

I already sent in a small PR in advance for this: https://github.com/laravel/cashier-stripe/pull/1032

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adrianoGaspar picture adrianoGaspar  路  5Comments

tania-pets picture tania-pets  路  3Comments

alexbowers picture alexbowers  路  6Comments

MarGul picture MarGul  路  5Comments

cvcv01 picture cvcv01  路  3Comments