mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Working on payment gateways
This commit is contained in:
parent
edda20fee7
commit
ad636f1e9f
@ -8,7 +8,7 @@
|
|||||||
Stripe.setPublishableKey('{{ $accountGateway->getPublishableStripeKey() }}');
|
Stripe.setPublishableKey('{{ $accountGateway->getPublishableStripeKey() }}');
|
||||||
$(function() {
|
$(function() {
|
||||||
var countries = {!! Cache::get('countries')->pluck('iso_3166_2','id') !!};
|
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) {
|
if ($('[name=plaidAccountId]').length) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user