Some tweaks

This commit is contained in:
2014-02-28 19:05:38 +11:00
parent e690d5b8c8
commit 8fb838d9eb
4 changed files with 85 additions and 40 deletions

View File

@@ -90,9 +90,7 @@ function _booking_process_payment($data) {
global $event;
$balance_payment = false;
$amount_owing = 0;
//TODO: verify $data['receiver_email'] matches variable_get('booking_paypal_account', '')
//extract the person node id from the invoice
$pos = strpos($data['invoice'], "_");
if (($pos === false) || ($pos == 0))