Logging Stripe error
This commit is contained in:
parent
1147ee0329
commit
4df68473ee
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@
|
|||
// and submit
|
||||
$form.get(0).submit();
|
||||
} else {
|
||||
logError(JSON.stringify(response));
|
||||
$('#js-error-message').html('An error occurred').fadeIn();
|
||||
logError('STRIPE_ERROR:' + JSON.stringify(response));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue