@extends('Frontend.Layouts.default') @section('header-menu-items') @if ( Auth::User() )
  • {{ trans('global.log_out') }}
  • @endif @stop @section('content')
    {!! trans('Adyen') !!}
    @foreach($payment_methods as $method) {!! Form::open([ 'route' => ['payments.subscribe', 'plan_id' => $plan_id, 'gateway' => $gateway], 'method' => 'POST', 'id' => $method['type'], 'hidden' => 'hidden' ]) !!}
    {!! Form::hidden('type', $method['type']) !!} @if(array_get($method, 'details')) @foreach($method['details'] as $detail) @if($detail['type'] === 'text')
    {!! Form::label(trans($detail['key']), ucfirst($detail['key'])) !!} {!! Form::text($detail['key'], null, ['class' => 'form-control']) !!}
    @elseif($detail['type'] === 'cardToken')
    @elseif($detail['type'] === 'select')
    @endif @endforeach @endif {!! Form::close() !!}
    @endforeach
    @stop @section('scripts') @stop