1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on payment gateways

This commit is contained in:
Hillel Coren 2018-03-16 10:04:53 +02:00
parent edda20fee7
commit ad636f1e9f

View File

@ -8,7 +8,7 @@
Stripe.setPublishableKey('{{ $accountGateway->getPublishableStripeKey() }}');
$(function() {
var countries = {!! Cache::get('countries')->pluck('iso_3166_2','id') !!};
$('.payment-form').submit(function(event) {
$('.payment-form').unbind('submit').submit(function(event) {
if ($('[name=plaidAccountId]').length) {
return false;
}