Logging for wepay

This commit is contained in:
David Bomba 2022-10-01 12:00:57 +10:00
parent 51600ea927
commit 710bf9749e
3 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,7 @@
"/js/clients/linkify-urls.js": "/js/clients/linkify-urls.js?id=2b2fe55f926789abc52f19111006e1ec",
"/js/clients/payments/braintree-credit-card.js": "/js/clients/payments/braintree-credit-card.js?id=cf25867ef09115b7f5a209819ba79bbf",
"/js/clients/payments/braintree-paypal.js": "/js/clients/payments/braintree-paypal.js?id=5764a8d406c1eda848d073f10d178626",
"/js/clients/payments/wepay-credit-card.js": "/js/clients/payments/wepay-credit-card.js?id=3c8dff12ca0269b3e09467a9cabed309",
"/js/clients/payments/wepay-credit-card.js": "/js/clients/payments/wepay-credit-card.js?id=08cf8dc7e10152db3810365d78dccc1c",
"/js/clients/payment_methods/wepay-bank-account.js": "/js/clients/payment_methods/wepay-bank-account.js?id=b8706d7de6127f184ad19b2a810880be",
"/js/clients/payments/paytrace-credit-card.js": "/js/clients/payments/paytrace-credit-card.js?id=e0b1231a7bf6252672836222285c0f52",
"/js/clients/payments/mollie-credit-card.js": "/js/clients/payments/mollie-credit-card.js?id=bbab588ed009a93345bec520cbe66869",

View File

@ -77,6 +77,7 @@ class WePayCreditCard {
client_address['country'] = document.querySelector(['meta[name=country_code']).content;
if(document.querySelector(['meta[name=country_code']).content == 'US'){
console.log("country code is US");
client_address['postal_code'] = document.querySelector(['meta[name=client-postal-code']).content;
}
@ -127,6 +128,7 @@ class WePayCreditCard {
client_address['country'] = document.querySelector(['meta[name=country_code']).content;
if(document.querySelector(['meta[name=country_code']).content == 'US'){
console.log("country code is US");
client_address['postal_code'] = document.querySelector(['meta[name=client-postal-code']).content;
}