fix references
This commit is contained in:
@@ -1096,11 +1096,11 @@ function _booking_process_person_payment($person, $payment_amount, $balance_paym
|
|||||||
'booking_amount_paid' => $total,
|
'booking_amount_paid' => $total,
|
||||||
'booking_status' => $status,
|
'booking_status' => $status,
|
||||||
))
|
))
|
||||||
->condition('nid', $nid)
|
->condition('nid', $person->nid)
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
//handle workflow emails and spouse payment updates
|
//handle workflow emails and spouse payment updates
|
||||||
_booking_postpayment_trigger($nid, $person, $balance_payment);
|
_booking_postpayment_trigger($person->nid, $person, $balance_payment);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -286,8 +286,8 @@ function _booking_process_stripe_payment($charge) {
|
|||||||
'booking_last_name' => $charge->metadata->last_name,
|
'booking_last_name' => $charge->metadata->last_name,
|
||||||
'booking_buyer_email' => $charge->receipt_email,
|
'booking_buyer_email' => $charge->receipt_email,
|
||||||
//'booking_payer_status' => $data['payer_status'],
|
//'booking_payer_status' => $data['payer_status'],
|
||||||
'booking_item_name' => $data->description,
|
'booking_item_name' => $charge->description,
|
||||||
'booking_ipn_track_id' => $data->id,
|
'booking_ipn_track_id' => $charge->id,
|
||||||
))
|
))
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user