The best way to i see to handle variable subscription amount is to create a base plan on stripe for example freePlan
and assign an amount of 1
to it.
So if you want to handle variable subcription amount "that is in your case"
you will subscribe to this freePlan
then increase that amount 1 by your subcription quantity(amount).
For example you want to charge 2 users $10 and $15 respectively. you will
// Let get first user
$user = User::find(1);
// subscribe to free plan which has an amount of one(1)
// and increment the quantity by 10 so in this case he/she will pay
// $10 every month
$user->subscription('freePlan')->incrementQuantity(10);
// Lets do same for user 2
$user = User::find(2);
// subscribe to free plan which has an amount of one(1)
// and increment the quantity by 15 so in this case he/she will pay
// $15 every month
$user->subscription('freePlan')->incrementQuantity(15);
or you can choose to use an already created plan example basicPlan
or businessPlan
and increase or decrease the quantity
// Let say basicPlan is $30 so increasing it by 5 will be 150
$user->subscription('basicPlan')->incrementQuantity(15);
This link points to stripe on how to set quantities https://stripe.com/docs/subscriptions/guide#setting-quantities
This is link points to laravel on how to increment or decrement quantities
https://laravel.com/docs/5.2/billing#subscription-quantity