When a payment for a new subscription is declined, Recurly does not store the (to-be) subscription but deletes it. Webhooks (failed_payment_notification) might contain a subscription_id that is non-existing.
I'm not sure if I've implemented this in the most optimal way.
When a payment for a new subscription is declined, Recurly does not store the (to-be) subscription but deletes it. Webhooks (failed_payment_notification) might contain a subscription_id that is non-existing.
I'm not sure if I've implemented this in the most optimal way.