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

    Default PayPal customer note not logged into ZenCart database

    Running ZC 1.3.9f, using PayPal EC sandbox (again!).

    I've got PayPal set up to allow a customer comment during the checkout phase and the comment text is returned by PayPal (looking at the logs) in the [NOTETEXT] field. Unfortunately, this comment is never recorded in the customer's order.

    Looking for NOTETEXT in all catalog/admin PHP files resulted in 0 matches.

    I also noticed that the PayPal Name/Value Pair Developer Guide was updated in September, 2010 to v64.4 while v1.3.9f is using v60 from October, 2009. Will 1.3.9 be updated to use the more recent interface?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: PayPal customer note not logged into ZenCart database

    FWIW, I corrected this behavior by modifying /includes/modules/payment/paypalwpp.php (line 1644) to gather the NOTETEXT value in the response (was 'NOTE'):

    Code:
      'order_comment'   => urldecode($response['NOTETEXT']),  // lat9 (was NOTE)

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal customer note not logged into ZenCart database

    Quote Originally Posted by lat9 View Post
    FWIW, I corrected this behavior by modifying /includes/modules/payment/paypalwpp.php (line 1644) to gather the NOTETEXT value in the response (was 'NOTE'):

    Code:
      'order_comment'   => urldecode($response['NOTETEXT']),  // lat9 (was NOTE)
    That is the correct change.
    .

    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. Manually merging 151 database customer records into a 154 database
    By jmocallghan in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 28 Feb 2015, 01:31 PM
  2. v139h Suddenly Paypal Express returns geographical error only if customer is not logged in
    By gsh68 in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 30 May 2012, 01:20 PM
  3. Will not stay logged into admin
    By anita in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 26 Jun 2010, 07:24 PM
  4. Zen-Cart is not transferring customer info into paypal..help please
    By Reenie in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 22 Aug 2009, 12:25 AM
  5. paypal express not working when customer is not logged in
    By Debby in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 6 Sep 2008, 02:38 PM

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