Increase state limit to 3 for WePay

This commit is contained in:
Hillel Coren 2016-09-19 12:03:12 +03:00
parent a1f59619ef
commit c7cedc53d4

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="https://static.wepay.com/min/js/tokenization.v2.js"></script>
<script type="text/javascript">
$(function() {
$("#state").attr('maxlength', '2');
$("#state").attr('maxlength', '3');
var countries = {!! Cache::get('countries')->pluck('iso_3166_2','id') !!};
WePay.set_endpoint('{{ WEPAY_ENVIRONMENT }}');
var $form = $('.payment-form');