Filter
rpress_is_payment_complete
This filter is applied to use to checks whether a payment has been marked as complete, it is including three parameters.
$retReturn a boolean.$payment_idContaining payment id.$paymentPost_status.
function check_payment_complete( $payment_id ){
// its return payment status complete or not.
return $payment->post_status;
}
add_filter( 'rpress_is_payment_complete', 'check_payment_complete',10,3 );
Was this page helpful?