#codingwisely
1 messages ยท Page 1 of 1 (latest)
Hello and good evening
thank you for jumping in to help
i have been searching using search on API stripe docs and could not find anything related to grace period
Hi, are you able to share the request where you see the error?
Let me tell you scenario i am afraid to happen:
- user subscribe for trial and get 3 days free
- user do things in my app
- user cancel trial
- user subscribe for the same trial and again gets 3 days free.
sure, let me check in stripe developer page
if i can find it ๐
here: req_65OJKfNtdNkoM2
thi sis the last. one
here is the code:
if($user->subscription('default')->stripe_price === $plan['price_id']){
//renew it
$user->subscription('default')->resume();
return redirect('account')->with('success', 'You cant resume trial period');
}
$user->subscription('default')->resume();
i see this is a laravel cashier method, and i dont know what is gracePeriod ๐
got it now.
Grace period is cashier method
Sounds like you're unblocked, yes?