diff --git a/resources/views/accounts/account_gateway_wepay.blade.php b/resources/views/accounts/account_gateway_wepay.blade.php index 70232534aa..faa61463cf 100644 --- a/resources/views/accounts/account_gateway_wepay.blade.php +++ b/resources/views/accounts/account_gateway_wepay.blade.php @@ -42,16 +42,17 @@ @if (WEPAY_ENABLE_CANADA)
- {!! Former::radios('country') - ->radios([ - trans('texts.united_states') => ['value' => 'US'], - trans('texts.canada') => ['value' => 'CA'], - ]) !!} + {!! 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) !!} + {!! Former::checkbox('debit_cards') + ->text(trans('texts.accept_debit_cards')) + ->value(1) !!} +
@endif @@ -77,7 +78,73 @@ ['link'=>''.trans('texts.wepay_tos_link_text').''] ))->value('true') ->inlineHelp('standard_fees_apply') !!} - + + + +
+ + + + + + + + + @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) + + + + + @endforeach + + + + + + + +

@@ -98,9 +165,10 @@ $('#wepay-country input').change(handleCountryChange) function handleCountryChange(){ var country = $('#wepay-country input:checked').val(); - if(country) { + if (country) { $('#wepay-accept-debit').toggle(country == 'CA'); $('#wepay-tos-link').attr('href', 'https://go.wepay.com/terms-of-service-' + country.toLowerCase()); + $('#canadaFees').toggle(country == 'CA'); } } handleCountryChange();