strangerstudios / paid-memberships-pro

WordPress membership plugin to restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
https://www.paidmembershipspro.com
Other
463 stars 358 forks source link

Add in filters around the error responses from payment gateways #1304

Open JarrydLong opened 4 years ago

JarrydLong commented 4 years ago

Is your feature request related to a problem? Please describe. Based on this ticket: https://www.paidmembershipspro.com/forums/topic/detail-error-messages-needed-when-updating-billing-info/

Describe the solution you'd like By having a filter around the error that is returned, we could put together a code recipe that allows you to compare it to a list of errors and their descriptions.

Describe alternatives you've considered No alternatives without adjusting core code.

dparker1005 commented 3 years ago

Related to https://github.com/strangerstudios/paid-memberships-pro/issues/1248.