#RichardS
1 messages · Page 1 of 1 (latest)
Hi 👋
Can you share an API request ID for these changes to the Customer subscription? They will start with req_
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
i will look have not dealt with that before... just sec
No worries, it's just the easiest way to trouble shoot this
yeah I can not locate anything like that, in dashboard I goto the billing page, then I see a table with the invoices, I find the line with the invoice I want to deal with, then at end of the line there are ... I click and goto view subscriptions for that invoice, and then on the sub page I click on actions and either select pause or resume, and i get updated webhook with status always set to active, and the resume or pause webhooks never fire
just gonna grab a sandwich back in 10 mins...
Can you share the customer.subscription.updated event ID? I think I can find something with that
evt_1NqewPCo1BvdjITfyUdJ7SZh
I just read: Sent when a subscription’s status changes to paused. For example, this is sent when a subscription is configured to pause when a free trial ends without a payment method. Invoicing won’t occur until the subscription is resumed. We don’t send this event if payment collection is paused because invoices continue to be created during that time period.
Right, I'm looking at the Subscription object and the changes to it. It never went to a status: 'paused' but only paused collection
So that would only trigger the .updated events, not the .paused/.resumed events
To understand the changes made you can example the previous_attributes property in the Event object.
When you made this update: https://dashboard.stripe.com/test/logs/req_K0kyH8AN67JoOi, the event had a previous_attributes property value of
previous_attributes: {
pause_collection: null
}
indicating that you had changed the pause_collection property
so the data I am getting right now on the event is $event->data->object, can I find this req_ item elsewhere in the $event data?
and in $event->data->object there is no reference to the req_ info
👋 hopping in here since snufkin has to head out
You should be able to see the request in $event->request
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i just dumped the $event and I can see what I need to find 🙂 had to 'zoom out' 🙂