rpress_should_process_pending

Author: RestroPress 17 views

The rpress_should_process_pending filter is used to Allow extensions to filter for their own payment types Process when a payment moves to pending, for Example, Recurring Payments.

 

function process_payment_pending( $process_pending,$payment_id ) {
$process_pending = //get pending payment gateway id.
}
add_filter( 'rpress_should_process_pending', 'process_payment_pending', 10, 2 );