mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Replace whitespace within input fields: authorize-authorize-card.js
This commit is contained in:
parent
9165fe5819
commit
d9ba8a2e3a
@ -27,9 +27,9 @@ class AuthorizeAuthorizeCard {
|
||||
|
||||
var cardData = {};
|
||||
cardData.cardNumber = myCard.CardJs('cardNumber').replace(/[^\d]/g, '');
|
||||
cardData.month = myCard.CardJs('expiryMonth');
|
||||
cardData.year = myCard.CardJs('expiryYear');;
|
||||
cardData.cardCode = document.getElementById("cvv").value;
|
||||
cardData.month = myCard.CardJs('expiryMonth').replace(/[^\d]/g, '');
|
||||
cardData.year = myCard.CardJs('expiryYear').replace(/[^\d]/g, '');
|
||||
cardData.cardCode = document.getElementById("cvv").value.replace(/[^\d]/g, '');;
|
||||
|
||||
var secureData = {};
|
||||
secureData.authData = authData;
|
||||
|
Loading…
Reference in New Issue
Block a user