Skip to content

Commit

Permalink
Removing the return in case that is interfering.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlimaza committed Nov 1, 2024
1 parent 62fb19b commit 2b37b30
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions services/payfast_itn_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,8 @@ function pmpro_ipnSaveOrder( $txn_id, $last_order ) {
do_action( 'pmpro_subscription_payment_completed', $morder );

pmpro_payfast_itnlog( __( 'New order (', 'pmpro-payfast' ) . $morder->code . __( ') created.', 'pmpro-payfast' ) );
return true;
} else {
pmpro_payfast_itnlog( __( 'Duplicate Transaction ID: ', 'pmpro-payfast' ) . $txn_id );
return true;
}
}

Expand Down

0 comments on commit 2b37b30

Please sign in to comment.