Execute custom code when a subscription payment fails. Passes the last successful MemberOrder object.


do_action("pmpro_subscription_payment_failed", MemberOrder $old_order);

Parameters

$old_order
MemberOrder;

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/services/authnet-silent-post.php

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/services/braintree-webhook.php

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/services/ipnhandler.php

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/services/stripe-webhook.php

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/services/twocheckout-ins.php

View in Source Code