Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jun 2008
    Location
    UK
    Posts
    209
    Plugin Contributions
    0

    Default Re: PayPal Direct Payment State Field Missing

    When a customer enters their county on the login screen there is a pull-down menu to select Herefordshire and other counties from.

    There is no problem with the customers county being set up in customers address.

    I have one page checkout by Nunimix and the first time the
    shipping and billing address is encountered is on this screen where it is pre-filled, presumably using the county from the customer address.

    The county is appearing on the screen correctly for both billing and shipping addresses.

    On this same screen the credit card details are entered for the direct payment.

    The customers shipping and billing addresses can be edited on this same screen. Most customers have shipped and billed to their own address and I have had a customer mail to a different shipping address. In all cases the shipping and billing address were blank in admin / customers / orders

  2. #12
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: PayPal Direct Payment State Field Missing

    Edit /includes/modules/payment/paypaldp.php
    around approx line 1383 (in v1.3.9a), you'll see this section. Add the highlighted code as shown:
    Code:
          case 'CH':
          $info['state'] = '';
          break;
          case 'GB':
          break;
          default:
          $info['state'] = '';
    .

    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.

  3. #13
    Join Date
    Jun 2008
    Location
    UK
    Posts
    209
    Plugin Contributions
    0

    Default Re: PayPal Direct Payment State Field Missing

    Bingo !!!

    Thank you Dr. Byte Ive just put my own credit card transaction through to test the change and the county/state field is now filled correctly in the shipping and billing address and also is filled in the Paypal notification email.

    Also, Ive by chance just had a sale go through on a different 1.3.8 zencart website (its this websites first paypaldp transaction ever).
    And that website is showing the same missing state problem, so now that can be corrected too.

    Thank you so much.

  4. #14
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Re: [Done v1.3.9b] PayPal Direct Payment State Field Missing

    Made the change and first order through looks good!

    Thanks for your help Dr Byte...I'm glad this has been picked up and resolved.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 2 May 2010, 09:56 PM
  2. Paypal direct payment
    By Amit001 in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 14 Mar 2010, 12:32 AM
  3. PayPal Pro, ALERT: PayPal Direct Payment Error (<!-- -->), COWOA
    By enigmabomb in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 25 Jun 2009, 04:50 AM
  4. Replies: 13
    Last Post: 1 Nov 2006, 07:48 AM
  5. Replies: 1
    Last Post: 31 Aug 2006, 10:21 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