We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 054e5fa commit 0d416f2Copy full SHA for 0d416f2
src/js/payments-methods/classic/_payment-methods.js
@@ -47,7 +47,8 @@ const AmazonPayBtn = ( props ) => {
47
return true;
48
}
49
const shippingPhone = document.getElementById( 'shipping-phone' );
50
- const billingPhone = document.getElementById( 'phone' );
+ const billingPhone = document.getElementById( 'billing-phone' );
51
+
52
if ( ! shippingPhone?.value && ! billingPhone?.value ) {
53
return {
54
type: 'error',
0 commit comments