Fixed problem using token

This commit is contained in:
Hillel Coren 2015-06-15 16:12:31 +03:00
parent a301e58609
commit 7b4c377100

View File

@ -224,7 +224,7 @@ class InvoiceController extends BaseController
$paymentTypes = []; $paymentTypes = [];
if ($client->getGatewayToken()) { if ($client->getGatewayToken()) {
$paymentTypes[] = [ $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) { foreach(Gateway::$paymentTypes as $type) {