Zen Cart Logo
Forums / General Questions / PayPal Module Shipping Address uses Buyer Name

PayPal Module Shipping Address uses Buyer Name

Locked

Views: 2,402

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Jan 2009, 3:58 AM
#1
technoswiss avatar

technoswiss

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

PayPal Module Shipping Address uses Buyer Name

I'm getting shipping addresses in PayPal, this is a slightly different issue (discussed here http://www.zen-cart.com/forum/showpost.php?p=662308). I've seen the question asked a few times, but I haven't seen an answer yet so I'm hoping I didn't miss something and thus taking up time on question that's already resolved.

I'm using ZenCart 1.3.8a with PayPal Express checkout module installed. What I'm seeing are the following issues, although I assume they're all related.

I send the user back to my shipping page even if they use express checkout, we sell flowers and so I want them to pick a delivery date.

#1 - If a buyer uses the express checkout button, and then changes the shipping address on the PayPal site, when they return to our site the shipping address matches what they entered on the PayPal site, however the shipping name is the buyer's name, not what was entered as the shipping name.

#2 - If a buyer has an account on our site, and they go through the checkout process, and change the shipping address when they are forwarded to PayPal after clicking Confirm if choose to pay by CC instead of logging on to a PayPal account the buyer information is auto-filled with the shipping info, instead of the buyer info. Once the order is completed the PayPal information on our site lists the Buyers name, but the Shipping address on the order page inside the grey PayPal info box.

#3 - Same scenario as #2 only the buyer uses a PayPal account. No problems since they don't have to fill out the CC info, but on the order page on our admin site the buyer information is the name on the PayPal account and the shipping address.

I understand that #2 and #3 might be an issue with PayPay not sending back buyer information (I'm pretty sure that's the case), but any ideas on why #1 I'm getting back the buyer name instead of the shipping name, and #2 We're autofilling the CC form with the shipping info instead of the buyer info?

I did try the fix mentioned in the thread above

//'no_shipping' => MODULE_PAYMENT_PAYPAL_ADDRESS_REQUIRED,
'no_shipping' => 2,

It looks like that fixes issue #1 (have to do some more testing to be sure), but I still have the problem were the CC form is auto-filled with the shipping info instead of the billing info.

Thanks!

7 Jan 2009, 4:12 AM
#2
technoswiss avatar

technoswiss

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: PayPal Module Shipping Address uses Buyer Name

Update:

Further testing has show that this does NOT actually fix issue #1. If I close out all my browsers and start fresh I still get the billing name with the shipping address.

7 Jan 2009, 5:05 AM
#3
technoswiss avatar

technoswiss

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: PayPal Module Shipping Address uses Buyer Name

It looks like when the shipping page loads, it checks the cart database for a shipping address, and then uses the address from the cart database.

When the PayPal module gets the shipping information back from PayPal, it puts the ship address and buyer name into the cart database.

And... this is why for issue #1 I'm getting the shipping address with the buyer name.

Is this correct?

7 Jan 2009, 5:09 AM
#4
technoswiss avatar

technoswiss

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: PayPal Module Shipping Address uses Buyer Name

Then for #2 and #3 ZenCart only sends (or maybe PayPal only accepts, still going through their documentation) a single address and treats it as the billing (for auto-filling the CC) and shipping address?

7 Feb 2009, 10:21 PM
#5
bethalicea avatar

bethalicea

New Zenner

Join Date:
Nov 2007
Posts:
24
Plugin Contributions:
0

Re: PayPal Module Shipping Address uses Buyer Name

I'm getting the same problem with the buyer name getting plugged into the shipping name when returning from PayPal to the cart for final purchase confirmation.

I am new to all of this, but seem to have everything else working properly. I hope someone comes along soon to offer some advice on fixing this problem. :smile:

13 Apr 2009, 8:21 PM
#6
bethalicea avatar

bethalicea

New Zenner

Join Date:
Nov 2007
Posts:
24
Plugin Contributions:
0

Re: PayPal Module Shipping Address uses Buyer Name

TechnoSwiss:

It looks like when the shipping page loads, it checks the cart database for a shipping address, and then uses the address from the cart database.

When the PayPal module gets the shipping information back from PayPal, it puts the ship address and buyer name into the cart database.

And... this is why for issue #1 I'm getting the shipping address with the buyer name.

Is this correct?
Where exactly does this happen? (Which file?) I'm still having this issue and my customer is getting irritated. So I'm going to brave the code.

Also, if you have managed to fix this, please post your solution. Thanks.:smile: