#archmaze.

1 messages · Page 1 of 1 (latest)

void pendantBOT
heavy blaze
#

You can view the invoice events in your Dashboard page.

obsidian finch
#

my case is when invoice.paid webhook event is triggered i need to check the previous invoice status of that invoice and if it was uncollectible then i have to further processing

heavy blaze
obsidian finch
#

i'm getting undefined on event.data.previous_attributes

heavy blaze
#

what's the event ID?

obsidian finch
#

let me send you

#

evt_1OZ4LSF8tiMhHfPbryTVOES2

heavy blaze
#

There are no previous events before this event

#

and that's why its previous_attributes is empty

hot reef
#

@heavy blaze @heavy blaze hello

obsidian finch
#

i was just resending the old webhook event... let me try with new one

void pendantBOT
heavy blaze
#

@hot reef please ask in the #dev-help channel and we will create a thread for you, thanks

hot reef
#

Can you help me enter the kofi community?

obsidian finch
#

evt_1OZ5XzF8tiMhHfPbWkjmGtiQ

#

check on this event please

#

sorry my bad... i'll add more event to webhook

white viper
#

@hot reef : This thread is for @obsidian finch. Please do not continue your question here. Please ask in ⁠#dev-help channel and we will create a thread for you

hot reef
white viper
#

@hot reef We will not be able to respond to you if you continue posting in this thread instead of asking in main channel #dev-help

obsidian finch
#

it seems i need to look into invoice.updated for the previous_attribute right ?

white viper
#

If you're looking for the changes, then yes - previous_attribute should be used

obsidian finch
#

thankyou