mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-13 21:52:57 +00:00
164 - Paying Promoters Directly
This commit is contained in:
@@ -28,9 +28,9 @@ class Reservation
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
public function complete($paymentGateway, $paymentToken)
|
||||
public function complete($paymentGateway, $paymentToken, $destinationAccountId)
|
||||
{
|
||||
$charge = $paymentGateway->charge($this->totalCost(), $paymentToken);
|
||||
$charge = $paymentGateway->charge($this->totalCost(), $paymentToken, $destinationAccountId);
|
||||
|
||||
return Order::forTickets($this->tickets(), $this->email(), $charge);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user