Hooks to extend the subscription failed event from PayPal Donations
under review
Ben Meredith
Currently it's possible for developers to extend the functionality of a
stripe
webhook payment Failed event, using the hook here: https://github.com/impress-org/give-recurring/blob/7db36c643a90d92d9ccb0c97b7a4ce213a3c82b1/src/Webhooks/Stripe/Listeners/InvoicePaymentFailed.php#L41That enables, among other things, the ability to build out custom notifications for admins when a renewal fails. It would be nice as a developer to have similar functionality here: https://github.com/impress-org/give-recurring/blob/develop/src/PaymentGateways/PayPalCommerce/WebHooks/Listeners/BillingSubscriptionPaymentFailed.php#L16 (that's an internal link to a private repo)
If the handle() function also had a similar action to hook into, that would be nice.
Bonus points for moving that logic into core and out of recurring.
Ben Meredith
under review
Our team will have a look at this.
Issues like this that are not preventing donations or have a simple workaround are generally prioritized at the end of an 8 week development cycle, and then tested and released. That means it can be up to 10 weeks for issues like this to be resolved, once they are prioritized.