Laravel Cashier for Subscription based payment and One time payments
I'm setting up a booking style website where a user can buy a monthly subscription to be a premium user with extra features. I believe Laravel Cashier would work great for this.
I am also wanting my users (who are not premium) to be able to make one time payments (bookings) on the site.
However, I'm reading that for one time payments I need to use the Strip/Braintree SDK
Is there a way to do both Subscription based payment and one time payment using Laravel Cashier?
"If you would like to make a "one off" charge against a subscribed customer's credit card, you may use the charge method on a billable model instance."
$user->charge(100);
But that is assuming the user already has a subscription with credit card credentials.
So does this mean the user has to be a subscribed user in order to make a one time charge? Or is it possible for a user who is not subscribed be able to make one time payments by entering their credit card info in a check out form?
So does this mean the user has to be a subscribed user in order to make a one time charge? Or is it possible for a user, who is not subscribed, be able to make one time payments by entering their credit card info in a check out form?
@brentxscholl Hello. How are you? How are things going with you after 6 years! I hope that you're doing great!
How did you solved subscription and checkout [one-time payment] at same function? and the hook works for both ?