Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    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
    12,498
    Plugin Contributions
    88

    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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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
    12,498
    Plugin Contributions
    88

    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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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. v139h Paypal Express Checkout requires phone number?
    By bft76 in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 16 Oct 2017, 04:29 PM
  2. v151 Phone number not required for account creation
    By earmsby in forum Customization from the Admin
    Replies: 2
    Last Post: 12 Feb 2014, 10:37 PM
  3. v150 Add Phone Number to Contact Us - phone number is not on the emails?
    By ljdream00 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Apr 2012, 10:37 PM
  4. Account holder's address not picked up by PayPal when cart is virtual
    By lat9 in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 19 Oct 2010, 03:18 AM
  5. 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

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR