• After making a purchase via the product page directly, im being redirected to the checkout field with the note that the phone is missing even though i filled it in the paypal window.

    any idea how it can be fixed? maybe a direction to the file in the plugin folder?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @fireeyez

    Are you perhaps requiring a shipping phone field? The plugin is designed to use the number provided by PayPal as the billing_phone field. If you go to the WooCommerce > Status > Logs page, locate the wc-ppcp log file.

    That log file will have details on the exact phone field that’s triggering the validation error. Please share that info here so we can review.

    Kind Regards

    Thread Starter fireeyez

    (@fireeyez)

    thanks for the reply.

    
    2024-05-08T13:49:41+00:00 ???? Redirecting to checkout page. Required fields missing: Array
    (
        [0] => billing_phone_required
    )
    

    i managed to locate this.
    the field name is billing_phone but its not passing from paypal to the wordpress.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @fireeyez

    Are you able to share a link to a product page with Sandbox mode enabled so we can test?

    Kind Regards

    Thread Starter fireeyez

    (@fireeyez)

    here you go
    please let me know when its done so i can hide it.

    • This reply was modified 6 months, 3 weeks ago by fireeyez. Reason: added link
    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @fireeyez

    I tested your site and when looking at the data provided by PayPal, the billing phone was missing. That means PayPal is not providing the billing phone as part of the data it sends back.

    Make sure you have enabled the billing phone field option in your PayPal account. Here is a link to our docs with a step by step guide.

    Kind Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Phone number is missing in checkout’ is closed to new replies.