Hi @auxiclic,
It seems like some of your personal information in Apple Pay may not be updated. If you update that, does it resolve the issue? Here is the link to help guide you in updating this information:
Additionally, make sure you have followed our detailed guide on configuring Apple here: https://woo.com/document/woopayments/payment-methods/apple-pay/
Let us know how that goes. Looking forward to helping you.
Yes I have followed your detailed guide.
I updated my personal information on my MacBook and on my Iphone but I got always the same error :
Shipping phone is a required field.
-
This reply was modified 1 hour, 21 minutes ago by
auxiclic.
Hey, @auxiclic!
Thanks for confirming!
Just to confirm, you are getting the same error on both your phone and Macbook, correct?
And are you able to use ApplePay on other places at the moment?
I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Looking forward to your reply.
Have a wonderful day!
I found the problem. I had the following code in my theme :
add_filter( 'woocommerce_shipping_fields', 'add_shipping_phone_field' );
function add_shipping_phone_field( $fields ) {
$fields['shipping_phone'] = array(
'label' => _x('Téléphone', 'woocommerce'),
'required' => true,
'class' => array( 'form-row-wide' ),
'priority' => 25,
'required' => false,
'clear' => false, // add clear or not
'type' => 'text', // add field type
'class' => array('form-row form-row-wide shipping_phone_number'),
'priority' => 25,
'id' => 'shipping_phone_number'
);
return $fields;
}
So the shipping phone was required. I changed it when the payment is Apple Pay and it is working now.