#Jordy
1 messages · Page 1 of 1 (latest)
Response body
{
"error": {
"message": "Trial end (1677771724) cannot be after billing_cycle_anchor (1676559945). Consider ending the trial (trial_end=now).",
"param": "billing_cycle_anchor",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_g2kq41Rsrp6ubH?t=1676559944",
"type": "invalid_request_error"
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
hey bismarck
Hey there
A trial end will set the billing_cycle_anchor
So you don't really need to be using both
That is an odd error message though
But yeah you want to just use trial_end: now instead of billing_cycle_anchor: now
OK, that did clear when I removed like you said but it still says I'm on the trial plan when I look at the customer in stripe
Customer ID: cus_NMsQzDWaHXqDqj
I'm using the following parameters: cancel_at_period_end, proration_behavior,items id, item_price, trial end
Ok, I'll check that
That did it . Thank you for your help bismarck
Is there a webhook I should listen for that lets me know a subscription is going to be canceled? At the moment it seems you only get that info at the period end