Search code examples
laravelstripe-paymentssubscriptionpayment-processing

Laravel 2-Year Stripe Plan


I have a Laravel website that utilizes Stripe for subscription payments. I partnered with a local business and through them, I am offering my customers a 2-year subscription plan for the price of 1.

I'd like to charge the customer a one-time fee of $50 (the price of a 1-year subscription). After 2 years (and every re-occurring year after), the customer should be charged $50 a year. How can I do this?

SubscriptionController:

$user->charge(5000, $paymentMethod);
$user->newSubscription('plan', 'yearly')->trialDays(730)->create($paymentMethod);

Solution

  • You could create a subscription that has a 2-year coupon applied. When subscribing, charge the customer the price of a single year to cover the first year of the subscription. The normal subscription rules will then kick in after year 2.