Update EventCheckoutController.php : stripe receipts.
Added 'receipt_email' to the Stripe charge creation request so customers get a payment receipt as well as their tickets. Also removed a blank line. I would still like to see the $order->order_reference in the description, but I'm not sure if $order has that property at this point: line 330 of EventCheckoutController.php.
This commit is contained in:
parent
8afc944fe7
commit
9460458b5c
|
|
@ -352,11 +352,11 @@ class EventCheckoutController extends Controller
|
|||
case config('attendize.payment_gateway_stripe'):
|
||||
$token = $request->get('stripeToken');
|
||||
$transaction_data += [
|
||||
'token' => $token,
|
||||
'token' => $token,
|
||||
'receipt_email' => $request->get('order_email'),
|
||||
];
|
||||
break;
|
||||
case config('attendize.payment_gateway_migs'):
|
||||
|
||||
$transaction_data += [
|
||||
'transactionId' => $event_id . date('YmdHis'), // TODO: Where to generate transaction id?
|
||||
'returnUrl' => route('showEventCheckoutPaymentReturn', [
|
||||
|
|
|
|||
Loading…
Reference in New Issue