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);
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2j0TerI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire