#RichardS

1 messages · Page 1 of 1 (latest)

faint lanternBOT
severe ether
opal trellis
#

i will look have not dealt with that before... just sec

severe ether
#

No worries, it's just the easiest way to trouble shoot this

opal trellis
#

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...

severe ether
#

Can you share the customer.subscription.updated event ID? I think I can find something with that

opal trellis
#

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.

severe ether
#

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.

opal trellis
#

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

unkempt crest
#

👋 hopping in here since snufkin has to head out

#

You should be able to see the request in $event->request

opal trellis
#

i just dumped the $event and I can see what I need to find 🙂 had to 'zoom out' 🙂