I'm using Laravel 5.2 with Cashier package and Stripe.
in Stripe panel - Plan section - i have setted 2 plan:
- Basic plan with 14 day's trial
- Pro plan with 14 day's trial
Now if i have customer with Basic plan and he finished is Trial time. He want to change plan to Pro... I'm tring:
$client->subscription('basic')->skipTrial()->swap('pro')
in order to swap tp Pro plan without Trial period. But i keep receiving this ERROR:
BadMethodCallException in Builder.php line 2405: Call to undefined method Illuminate\Database\Query\Builder::skipTrial()
I'm following the Laravel 5.2 documentation:
Help Please!!!!!
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2itWpJ4
via IFTTT
Aucun commentaire:
Enregistrer un commentaire