Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default PayPal IPN: Incorrect billing info passed over

    I am testing my site at the moment and I've run in to some strange behavior with PayPal IPN. It seems that if the shipping at billing addresses are different, ie: the billing address is changed during the checkout process then the new information is ignored and the old information is sent over incorrectly.

    Here is my scenario:

    1. I register as a new user with my delivery address:

    http://www.jked.net/images/1-ZC-register.JPG

    2. I add an item to my cart and go to the checkout:

    http://www.jked.net/images/2-Checkout-step1.JPG

    3. At checkout step 2, I change my billing address by clicking the change address button:

    http://www.jked.net/images/3-checkout-step2.JPG
    http://www.jked.net/images/4-Change-billing-address.JPG

    4. At checkout stage 3, everything looks good to go:

    http://www.jked.net/images/5-Checkout-step3.JPG

    5. I click "Confirm Order" and get transfered to Paypal where I choose the "Don't have a PayPal account" -> Continue option. This takes me to the PayPal Billing Information page:

    http://www.jked.net/images/6-paypal-billing-info.JPG

    As you can see, the delivery address information has been used to populate this form rather than the updated billing info. Also, address line 2 is blank and county is not populated (This is probably because I originally supplied an invalid value that is not in the PayPal County list, I will test that further).
    The contact phone number looks to be a completely arbitrary 3 digits.

    I am using ZC 1.3.7 with the "PPEC-137-patches-March21-2007" applied.

    Any thoughts / suggestions welcomed!

    Regards,

    Alasdair

  2. #2
    Join Date
    Jan 2004
    Posts
    58,235
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: PayPal IPN: Incorrect billing info passed over

    PayPal's Website Payments Standard system (which the ZC PayPal IPN module talks to) does not allow for both Billing and Shipping addresses to be supplied. Currently it is the customer's primary/default address that is being sent to Paypal.

    Thus, since you used the "default" address for your test account's shipping address, you're only seeing the Shipping address details when you arrive at the PayPal site via the IPN module.

    Changing your default address to point to your alternate billing address would resolve the issue.
    .

    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.

  3. #3
    Join Date
    Feb 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: PayPal IPN: Incorrect billing info passed over

    Im having this same issue at the moment - has it not been sorted yet? Even if paypal will not accept different addresses, the code surely needs to be set to default to the billing address.

    Is this a simple code change?

    Any help greatly appreciated,

    Dan

  4. #4
    Join Date
    Feb 2006
    Posts
    21
    Plugin Contributions
    0

    bug Re: PayPal IPN: Incorrect billing info passed over

    Is a fix possible?

    I understand that Paypal does not allow for both Billing and Shipping addresses to be supplied. However, Shipping is stored in zen-cart for the retailer and so does not need to be sent to paypal anyway. - but billing does!

    Could someone tell me the page and code to change in order to send billing address to paypal rather than shipping?

    grateful for any help,

    Dan

  5. #5
    Join Date
    Jan 2006
    Posts
    409
    Plugin Contributions
    0

    Default Re: PayPal IPN: Incorrect billing info passed over

    I have now got the same issue as DMservices using the Worldpay module.

    Is it the same variables being sent to the payment gateway that are at fault ? is this a per module thing ? maybe i should post on the worldpay thread , but seems strange that I am having the same issue on an alternate gateway .

    Cheers
    http://www.affixit.co.uk - Adhesive Craft Tape & Industrial Tape
    http://www.lynvale.co.uk - Foam Tape Industrial Converters

 

 

Similar Threads

  1. Currency Calculation Bug Found in Paypal IPN module
    By Peter Homann in forum Addon Payment Modules
    Replies: 10
    Last Post: 21 Mar 2007, 08:06 AM
  2. IPN problem, Mode for PayPal web services. Default?
    By chris9196 in forum Addon Payment Modules
    Replies: 2
    Last Post: 6 Nov 2006, 11:27 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
  •