Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / PayPal IPN: Incorrect billing info passed over

PayPal IPN: Incorrect billing info passed over

Locked

Views: 2,283

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
1 May 2007, 11:40 AM
#1
ked avatar

ked

New Zenner

Join Date:
Mar 2007
Posts:
6
Plugin Contributions:
0

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

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

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

  1. 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

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

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

  1. 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

6 May 2007, 8:04 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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.

1 Nov 2007, 5:01 PM
#3
dmservices avatar

dmservices

New Zenner

Join Date:
Feb 2006
Posts:
21
Plugin Contributions:
0

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

5 Nov 2007, 10:23 AM
#4
dmservices avatar

dmservices

New Zenner

Join Date:
Feb 2006
Posts:
21
Plugin Contributions:
0

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

6 Nov 2007, 3:49 PM
#5
crazycucumber avatar

crazycucumber

Zen Follower

Join Date:
Jan 2006
Posts:
403
Plugin Contributions:
0

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

6 Nov 2007, 3:51 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: PayPal IPN: Incorrect billing info passed over

PayPal wants the Shipping address because that is the address they verify.

6 Nov 2007, 4:03 PM
#7
crazycucumber avatar

crazycucumber

Zen Follower

Join Date:
Jan 2006
Posts:
403
Plugin Contributions:
0

Re: PayPal IPN: Incorrect billing info passed over

Kim:

PayPal wants the Shipping address because that is the address they verify.

If thats the case - as far as paypal goes they will always take the wrong address.
Surely they want to verify the address that is attached with the card.

A more pressing issue for me is why the Worldpay site has suddenly changed and taking the shipping not billing address.