From 7b4c37710099ae5ba9fbce632f3e354d73243286 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 15 Jun 2015 16:12:31 +0300 Subject: [PATCH] Fixed problem using token --- app/Http/Controllers/InvoiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/InvoiceController.php b/app/Http/Controllers/InvoiceController.php index e8707ffb68d3..bdec69cceab7 100644 --- a/app/Http/Controllers/InvoiceController.php +++ b/app/Http/Controllers/InvoiceController.php @@ -224,7 +224,7 @@ class InvoiceController extends BaseController $paymentTypes = []; if ($client->getGatewayToken()) { $paymentTypes[] = [ - 'url' => URL::to("payment/{$invitation->invitation_key}/".PAYMENT_TYPE_TOKEN), 'label' => trans('texts.use_card_on_file') + 'url' => URL::to("payment/{$invitation->invitation_key}/token"), 'label' => trans('texts.use_card_on_file') ]; } foreach(Gateway::$paymentTypes as $type) {