mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix typo in element id
This commit is contained in:
parent
1e646fa954
commit
31f2e65bff
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class CreditCardRenderer {
|
|||
hostedFieldsData.cardholderName = this.defaultConfig.payer.given_name + ' ' + this.defaultConfig.payer.surname;
|
||||
}
|
||||
if (!hostedFieldsData.cardholderName) {
|
||||
const firstName = document.getElementById('foo_billing_first_name') ? document.getElementById('foo_billing_first_name').value : '';
|
||||
const firstName = document.getElementById('billing_first_name') ? document.getElementById('billing_first_name').value : '';
|
||||
const last = document.getElementById('billing_last_name') ? document.getElementById('billing_last_name').value : '';
|
||||
|
||||
if (!firstName || !lastName) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue