dinkbit / conekta-cashier

Laravel + Conekta = Painless subscription billing. http://laravel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to a member function extendTrial() on null

vaporic opened this issue · comments

Hola quiero implementar extendTrial() pero obtengo un error:

$subscription = $order->subscription('monthly')->create($request->conektaTokenId, [
'email' => 'email@example.com',
'name' => 'Nombre'
]);
$subscription->extendTrial(Carbon::now()->addMonth());

Call to a member function extendTrial() on null