Execute custom code before saving a successful order. This hook is available for the following gateways: Stripe, PayPal, Authorize.net, Braintree, and TwoCheckout.


do_action( 'pmpro_subscription_payment_completed', MemberOrder $morder );

Parameters

$morder
object; MemberOrder

Source

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

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

View in Source Code