Dec 3, 2014
0
Level 1
Laravel Cashier creates multiple subscriptions
I am building a subscription service using Laravel Cashier and have run into the issue of Laravel Cashier creating multiple subscriptions for the same user and was wondering if this is intended behavior?
Executing this command multiple times for the same user will create multiple subscriptions even though Cashier only support 1:1 between User and Subscription:
$user->subscription('monthly')->create($token);
This will create orphan subscriptions in Stripe, which would be rather problematic.
Please or to participate in this conversation.