Added partial payment option

This commit is contained in:
2014-03-04 16:21:10 +11:00
parent b2c0ec842d
commit 894ab1aba4
7 changed files with 163 additions and 3 deletions

View File

@@ -255,6 +255,8 @@ function _booking_process_payment($data) {
{
watchdog('booking', 'This balance payment of !payment was insufficient for !id to completely pay the total outstanding of !outstanding.',
array('!id' => $nid, '!payment' => $data['mc_gross'], '!outstanding' => $amount_owing));
//send the person an email thanking them for their partial payment
_booking_partialbalance_payment_email($nid);
//TODO: create an email specifically for partial-balance payments
//_booking_registration_email($nid, $balance_payment);
}