4.3 - This Design Sucks

This commit is contained in:
Adam Wathan
2016-11-16 20:46:43 -05:00
parent 0f6993c505
commit 21e61426ef

View File

@@ -28,6 +28,11 @@ class ConcertOrdersController extends Controller
]);
try {
// Find some tickets
// Charge the customer for the tickets
// Create an order for those tickets
$order = $concert->orderTickets(request('email'), request('ticket_quantity'));
$this->paymentGateway->charge(request('ticket_quantity') * $concert->ticket_price, request('payment_token'));