mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-18 09:54:20 +00:00
4.3 - This Design Sucks
This commit is contained in:
@@ -28,6 +28,11 @@ class ConcertOrdersController extends Controller
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
// Find some tickets
|
||||||
|
// Charge the customer for the tickets
|
||||||
|
// Create an order for those tickets
|
||||||
|
|
||||||
$order = $concert->orderTickets(request('email'), request('ticket_quantity'));
|
$order = $concert->orderTickets(request('email'), request('ticket_quantity'));
|
||||||
$this->paymentGateway->charge(request('ticket_quantity') * $concert->ticket_price, request('payment_token'));
|
$this->paymentGateway->charge(request('ticket_quantity') * $concert->ticket_price, request('payment_token'));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user