@extends('header')
@section('content')
@parent
@include('accounts.nav', ['selected' => ACCOUNT_PAYMENTS])
{!! Former::open($url)->method($method)->rules(array(
'first_name' => 'required',
'last_name' => 'required',
'email' => 'required',
'company_name' => 'required',
'tos_agree' => 'required',
'country' => 'required',
))->addClass('warn-on-exit') !!}
{!! Former::populateField('company_name', $account->getDisplayName()) !!}
@if ($account->country)
{!! Former::populateField('country', $account->country->iso_3166_2) !!}
@endif
{!! Former::populateField('first_name', $user->first_name) !!}
{!! Former::populateField('last_name', $user->last_name) !!}
{!! Former::populateField('email', $user->email) !!}
{!! Former::populateField('show_address', 1) !!}
{!! Former::populateField('update_address', 1) !!}
@if (WEPAY_ENABLE_CANADA)
{!! Former::populateField('country', 'US') !!}
@endif
{!! trans('texts.online_payments') !!}
{!! Former::text('first_name') !!}
{!! Former::text('last_name') !!}
{!! Former::text('email') !!}
{!! Former::text('company_name')->help('wepay_company_name_help')->maxlength(255) !!}
@if (WEPAY_ENABLE_CANADA)
{!! Former::radios('country')
->radios([
trans('texts.united_states') => ['value' => 'US'],
trans('texts.canada') => ['value' => 'CA'],
]) !!}
{!! Former::checkbox('debit_cards')
->text(trans('texts.accept_debit_cards'))
->value(1) !!}
@endif
{!! Former::checkbox('show_address')
->label(trans('texts.billing_address'))
->text(trans('texts.show_address_help'))
->value(1) !!}
{!! Former::checkbox('update_address')
->label(' ')
->text(trans('texts.update_address_help'))
->value(1) !!}
{!! Former::checkboxes('creditCardTypes[]')
->label('Accepted Credit Cards')
->checkboxes($creditCardTypes)
->class('creditcard-types')
->value(1) !!}
{!! Former::checkbox('enable_ach')
->label(trans('texts.ach'))
->text(trans('texts.enable_ach'))
->value(1) !!}
{!! Former::checkbox('tos_agree')->label(' ')->text(trans('texts.wepay_tos_agree',
['link'=>'
'.trans('texts.wepay_tos_link_text').' ']
))->value('true')
->inlineHelp('standard_fees_apply') !!}
Fees Disclosure Box
Payment Card Type
(These are the most common domestically issued card types
and processing methods. They do not represent all the
possible fees and variations that are charged to the
merchants.)
Processing Method: Card Not Present
(Means that the card/device was not
electronically read. Generally, the card
information is manually key-entered, e.g. online
payment)
@foreach ([
'Visa Consumer Credit',
'Visa Infinite',
'Visa Infinite Privilege',
'Visa Business',
'Visa Business Premium',
'Visa Corporate',
'Visa Prepaid',
'Visa Debit',
'MasterCard Consumer Credit',
'MasterCard World',
'MasterCard World Elite',
'MasterCard Business/Corporate',
'MasterCard Debit',
'MasterCard Prepaid',
'American Express',
] as $type)
{{ $type }}
2.9% + CA$0.30
@endforeach
Other Fees Disclosure Box
Chargeback
CA$15.00
{!! Button::normal(trans('texts.use_another_provider'))->large()->asLinkTo(URL::to('/gateways/create?other_providers=true')) !!}
{!! Button::success(trans('texts.sign_up_with_wepay'))->submit()->large() !!}
{!! Former::close() !!}
@stop