laravel / cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.

Home Page:https://laravel.com/docs/cashier-paddle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Applying a discount on checkout

mshamaseen opened this issue · comments

would be great if the ability to apply a discount is added to checkout.
something like:

$checkout = $user->subscribe($id)->applyDiscount($discountId)
                ->returnTo(route('thanks'));

This is something that's handled by Paddle's widget. Afaik there's no way to add this up front?