#Luis Felipe
1 messages · Page 1 of 1 (latest)
Hello Luis Felipe, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• Luis Felipe, 18 hours ago, 9 messages
• Luis Felipe, 1 day ago, 3 messages
• Luis Felipe, 1 day ago, 5 messages
hello! I'm afraid i don't quite understand what you mean by setting the resting days to 0 - what parameter are you referring to?
In doc it says that this last webhook can be sent 3 days before subscription ends or the same day whe it ends - where are you seeing this?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Liake what the description mentions, it's sent either three days before a subscription’s trial period is scheduled to end, or when a trial is ended immediately (using trial_end=now).
date = round((timezone.now() + timezone.timedelta(days=14)).timestamp())
stripe.Subscription.create(
customer=customer_id,
items=[
{
"price": plan_stripe_code,
},
],
trial_end=date,
)
user.save()
I guess i am matching the case one, isnt it?
What i meant with doing it manually is this =>
changing the 14 to 0
but when it is set to 3 for example, the webhook we mentioned is not sent but only when it is set to 0
👋
are you using a test clock?
and does the webhook eventually gets sent out, or does it never get sent out?
if you have an example Subscription id for when you set the free trial days to 3, can you share that for me to take a closer look?
No i am not using test clock, i will check it out! yes, this is an example of subscription which was set free trial days to 3 => sub_1O5OFQF8FCzK2LuiSQUrQeDu