Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
} elseif ( ( $update == 1 ) && ( $status == 'A' ) ) {
} elseif ( ( $renewal == 1 ) && ( $status == 'A' ) ) {
Please Log in to join the conversation.
if ( $registerRecurr ) {
$session = new Gpf_Api_Session( $installPath . '/scripts/server.php' );
$recurringCommission = new Pap_Api_RecurringCommission( $session );
$recurringCommission->setOrderId( $orderId );
$recurringCommission->setTotalCost($price);
$recurringCommission->createCommissions();
}
Please Log in to join the conversation.
Yup, that's what the setTotalCost function is for. Have added a feature ticket to implement in a future release. Am only pausing Bootstrap 4 progress for necessary bug fixes so it won't be for awhile, but you should be able to make the change your self if you like.Also I have noticed that if the first payment was different from the other ones, the recurring commission does not adapt, so maybe that would be better to write :
Please Log in to join the conversation.