Various tweaks

This commit is contained in:
2014-11-25 20:04:58 +11:00
parent f7a5856b2c
commit 9f917de8a5
9 changed files with 432 additions and 411 deletions

View File

@@ -68,7 +68,7 @@ function booking_paypal_ipn() {
return;
}
*/
if (empty($ipn['payment_status']) || ($ipn['payment_status'] != 'Completed' && variable_get('booking_paypal_sandbox', 0) == 0))
if (_booking_person_studygroups_cleanup($ipn['payment_status']) || ($ipn['payment_status'] != 'Completed' && variable_get('booking_paypal_sandbox', 0) == 0))
return;
//if (strcasecmp($ipn['receiver_email'], variable_get('booking_paypal_account', '') <> 0))