Hi @sylvainnascimento
Even if the shipping phone is required
If a shipping phone field is required, then the order should not proceed because WooCommerce performs a validation during the checkout process that ensures all required fields have a valid value. That is part of core WooCommerce.
The PayPal plugin is also coded to add the phone number value to the shipping_phone field if it’s provided. That leads me to believe that your phone field might be removed by some 3rd party plugin after validations pass.
Are you using the checkout block or checkout shortcode?
Kind Regards
Thanks for the reply !
I’m using new Woocommerce Checkout Blocks, not shortcode.
This behavior is only when using Paypal’s Express Checkout
There’s no phone number in Paypal shipping address and Woocommerce seems to validate the order without required shipping phone.
Hi @sylvainnascimento
The checkout block is a different type of integration and the validation logic is different than the checkout shortcode.
When configuring the block, you can set the shipping phone to be required. I am not sure why Woo isn’t validating it but that’s not a PayPal plugin issue.
I’ve reviewed the code and when using the block, the phone number is applied to the billing address. I’ve made a note to have the code updated so the phone is applied to the shipping address as well when express checkout is used.
Kind Regards