{!! Form::open(['url' => 'https://credomatic.compassmerchantsolutions.com/api/transact.php']) !!}
{!! Form::hidden('type', 'sale') !!}
{!! Form::hidden('orderid', $order->onumber, ['id' => 'orderid']) !!}
{!! Form::hidden('key_id', '6836289') !!}
{!! Form::hidden('hash', $hash) !!}
{!! Form::hidden('redirect', url('/payment/order/'.$order->id.'/method/cc')) !!}
{!! Form::hidden('time', $time) !!}
{!! Form::hidden('amount', $total) !!}
{!! Form::text('checkname', null, ['class' => 'form-control', 'required', 'id' => 'CardName']) !!}
{!! Form::number('ccnumber', null, ['class' => 'form-control', 'step' => 'any', 'required', 'id' => 'CardNumber']) !!}
{!! Form::number('ccexp', null, ['class' => 'form-control', 'required', 'id' => 'CardExp']) !!}
{!! Form::number('cvv', null, ['class' => 'form-control', 'required', 'id' => 'CardCVV2']) !!}
{!! Form::submit('Pagar', ['class' => 'btn btn-csuccess btn-width btn-sm mtop16', 'onclick'=> 'this.disabled=true;this.value="Procesando...";this.form.submit();', 'id' => 'btn-pay', 'style' => 'display: none;']) !!}
{!! Form::close() !!}