#danishyasin33

1 messages ยท Page 1 of 1 (latest)

worthy nexusBOT
remote saddle
#

Hi ๐Ÿ‘‹ are you referring to a subscriptions automatic payment attempts failing, or are you referring to delivery of Events to your webhook endpoint?

crisp socket
#

Hello

#

When a user updates their subscription, their payment is handled by our webhook that is linked to the subscription.created and subscription.updated events.

The initial payment failed due to insufficient funds. This caused a retry, the payment retry also failed and this cycle continued several time and due to another internal bug, we ended up with several retries at the same time. The bug is fixed now.

Now one of the retries succeeded, but the rest are still pending. I simply want to clear these pending events.

remote saddle
#

Okay, so it sounds like this is focusing on the webhook event delivery retries. The right approach there is to return a 2XX status to indicate to us that your system was able to successfully receive the event, then we will stop attempting to resend the event. Any status outside of the 2XX range is interpreted as you saying your system was unable to successfully receive the event, and we will queue the event to be resent.

crisp socket
#

I understand. Is there not a portal or any shortcut to clear up all the retries?

lucid robin
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

I'm not sure what you mean by "clear up" but you can disable the webhook endpoint and the retries will stop until it is reenabled