I have seen in the laravel docs that coupons can be applied to subscriptions.
$user->newSubscription('main', 'monthly')
->withCoupon('code')
->create($creditCardToken);
What I wanted to know, is - can coupons be applied to one time charges?
$user->charge(100);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire