Skip to content

Commit 0d416f2

Browse files
committed
Fix Billing Phone ID getter
1 parent 054e5fa commit 0d416f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/payments-methods/classic/_payment-methods.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ const AmazonPayBtn = ( props ) => {
4747
return true;
4848
}
4949
const shippingPhone = document.getElementById( 'shipping-phone' );
50-
const billingPhone = document.getElementById( 'phone' );
50+
const billingPhone = document.getElementById( 'billing-phone' );
51+
5152
if ( ! shippingPhone?.value && ! billingPhone?.value ) {
5253
return {
5354
type: 'error',

0 commit comments

Comments
 (0)