Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    1,979
    Plugin Contributions
    21

    Default Account holder's phone number not picked up by PayPal Express

    Running ZC 1.3.9f using PayPal EC sandbox.

    When an account-holder chooses to use PayPal (selected from the checkout_payment page), their address and e-mail information is correctly picked up by PPEC ... but the phone number (which I've set as required) isn't.

    The phone number, as stored in the database, is of the form 'nnn nnn nnnn' (blanks separating the digit blocks) and I see in the paypal log that the value is transferred with the [PHONENUM] tag. I noticed that PayPal 'wants' the phone number as 'nnn-nnn-nnnn' (hyphens separating the blocks); is it necessary for the phone number to be re-formatted in the database for the value to be accepted by PayPal?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    1,979
    Plugin Contributions
    21

    Default Re: Account holder's phone number not picked up by PayPal Express

    OK, here's another change to /includes/modules/payment/paypalwpp.php (line 1490):

    Code:
           $options['SHIPTOPHONENUM'] = $zc_getemail->fields['customers_telephone']; // lat9 ... was 'PHONENUM'
    With this change, a logged-in customer who goes through the checkout process (going to PayPal from checkout_confirmation) has their phone number shown on the PayPal website.

  3. #3
    Join Date
    Jan 2004
    Posts
    58,459
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Account holder's phone number not picked up by PayPal Express

    Have you tested whether that works accurately when using both virtual and physical goods?
    The "SHIPTO" keys are only submitted when shipping is relevant. You'll note that they're segregated for that reason even in PayPal's documentation.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    1,979
    Plugin Contributions
    21

    Default Re: Account holder's phone number not picked up by PayPal Express

    DrByte, I've checked this out with both physical and virtual carts; the phone number shows up on both.

  5. #5
    Join Date
    Jan 2004
    Posts
    58,459
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Account holder's phone number not picked up by PayPal Express

    Further study of both the incomplete PayPal documentation and the actual API response parameters indicates that PHONENUM is not only deprecated but actually useless as a request parameter, but BOTH are used as response parameters, and not consistently.

    One more bug to report to PayPal.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. paypal express payment can not get user phone number
    By jarvis_ht2000 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 15 Oct 2010, 01:02 AM
  2. Paypal not passing the contact phone number
    By rocketteem in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 11 Nov 2009, 09:58 PM
  3. Wrong phone number format = issues when sent to Paypal
    By stride-r in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 1 Oct 2008, 09:23 PM
  4. PP Express - Phone number?
    By samad64 in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 23 Jan 2007, 09:52 PM
  5. PayPal module send wrong phone number
    By ptalindstrom in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 27 Dec 2006, 02:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •