Closed guianzollin closed 3 years ago
Coupons for payment intents aren't supported by Stripe: https://support.stripe.com/questions/support-for-coupons-using-payment-intents-api
Can't we use Stripe Checkout for this?
Hmm right. For Checkout it makes sense. I'll take a look at this at a later time but feel free to PR it if you want. I tink maybe moving the coupon/promotion code functionality from the SubscriptionBuilder
into a concerns trait makes sense so it can be re-used in PerformsCharges
.
I've sent in a PR for this here: https://github.com/laravel/cashier-stripe/pull/1182
It would be nice to be able to use the withCoupon method in single charges.