Forums / PayPal Express Checkout support / Paypal Express Checkout - Shipping Address Issue

Paypal Express Checkout - Shipping Address Issue

Views: 89,657

Results 41 to 60 of 75
26 Jan 2015, 12:50 PM
#41
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Paypal Express Checkout - Shipping Address Issue

SpaceMonkey:

Anyone know another link, one here is 404 and search brings nothing up.

This fix sounds perfect for me. This issue is causing me a serious problem affecting approximately 60% of my orders. My store is serving a takeaway site with major impact when addresses for delivery are changed by PayPal.
Please note that you don't have to change any code -- only built-in PayPal Express Checkout payment-module settings, specifically:

Express Checkout Shortcut Button
Off

Express Checkout: Require Confirmed Address
No

With those settings, the customer logs into your store (no shortcut button), chooses their billing and shipping addresses, selects Pay with PayPal and at confirmation they're taken to PayPal to make their payment. Since you're not requiring a confirmed address, PayPal leaves the shipping address alone (with a message that the customer will need to return to your store to change it).

26 Jan 2015, 2:15 PM
#42
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: Paypal Express Checkout - Shipping Address Issue

Unfortunately this is not the way it works right now especially if the customer has multiple adresses in Zen Cart or has different shipping and billing adresses.
All stores suffering from this issue do have the setting Requird Confirmend Address set to No.
If this setting would avoid the issue neither this thread nor code modifications would exist.

27 Jan 2015, 3:25 PM
#43
spacemonkey avatar

spacemonkey

Zen Follower

Join Date:
Nov 2013
Location:
Dorset, UK
Posts:
124
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

webchills:

The link to the repository did change, here is a working one:
https://github.com/webchills/zencart-de-paypal-express
I have added an English readme and updated the modification to Zen Cart 1.5.4

Thank you "WEBCHILLS"!! I will run through this after tonight's session. I have my fingers crossed. Thanks again. :yes:

28 Jan 2015, 3:18 AM
#44
spacemonkey avatar

spacemonkey

Zen Follower

Join Date:
Nov 2013
Location:
Dorset, UK
Posts:
124
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

webchills:

The link to the repository did change, here is a working one:
https://github.com/webchills/zencart-de-paypal-express
I have added an English readme and updated the modification to Zen Cart 1.5.4

Cooolio.

All works fine for me. Next few days will tell. Thanks for such a prompt response WEBCHILLS. :D

19 May 2015, 8:00 AM
#45
derek_bryant avatar

derek_bryant

Zen Follower

Join Date:
Jul 2008
Location:
Bristol UK
Posts:
162
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

Hi

Was this ever resolved - I have had the same problem with one of my e-commerce sites (version 5.1)
I have edited the following files in the includes/languages/english folder to try and get the customer to check/confirm the delivery address as follows:

checkout_shipping.php
define('TABLE_HEADING_COMMENTS', 'Special Instructions - To avoid shipping errors, please re-confirm your delivery address if different from your billing address ');

and for the automated email order acknowledgement

checkout_process.php
define('EMAIL_DETAILS_FOLLOW','The following are the details of your order - please check to make sure your delivery address is correct.');

18 Jun 2015, 12:11 PM
#46
howb avatar

howb

New Zenner

Join Date:
Jun 2008
Location:
Warrenpoint, United Kingdom
Posts:
43
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

webchills:

The link to the repository did change, here is a working one:
https://github.com/webchills/zencart-de-paypal-express
I have added an English readme and updated the modification to Zen Cart 1.5.4

Thank you webchills, after years of trying to figure out a workaround, this has finally fixed the issue. Have just tested it myself and it works. Thanks again

Winemax.ie
Check out my short film The Pigman - Short Irish Fable

29 Jul 2015, 3:51 AM
#47
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Paypal Express Checkout - Shipping Address Issue

jetx:

If you had a site which suffered a minimum 2 of these a week you'd likely think otherwise. This is a very real problem, contrary to your arguments in this thread. It costs me plenty in terms of lost freight for returns. It is not practical to continue with this. Oh yes I suppose could just advise customers that the error was clearly their own. Maybe I could just point them to this thread so you could enlighten them.

It is very simple, a customer creates an account or uses COWOA, they take the time to input their preferred shipping address, click on paypal to pay for the goods, get whisked away to paypal and click the pay button without even thinking about the address in paypal because they already put the shipping address in the shopping cart. I mean do you get this?

With regards to your comment: " You'll find that the best carts function in the same manner as ZenCart" That is utter nonsense. Why don't take the time and have a look for yourself instead of drafting novels. Go to some decent, high volume sites. Try it on one of your local sites such as theiconic. You'll see they use paypal express and you'll also see that if you play customer and you take the time to put your items into the cart, input your shipping address and you hit paypal that when you confirm the order the address you put as the shipping address in the shopping cart is picked up by paypal. Checkout some others and you might see what everyone else besides you and Dr Byte are talking about.

Anyway, I am quite certain this all falls on deaf ears with you. Dr Byte, if you read this I would appreciate your comments. In the meantime I have removed paypal as a payment option.It wasn't clear if this was a US store or another country.

webchills:

Many European Zen Cart stores are setting up their PayPal Express module like this:

Payment Zone
--none--

Express Checkout Shortcut Button
Off

Express Checkout: Require Confirmed Address
No

Express Checkout: Select Cheapest Shipping Automatically
No

Express Checkout: Skip Payment Page
No

Express Checkout: Automatic Account Creation
No

Payment Action
Final Sale

Transaction Currency
Only EUR

Allow eCheck?
Instant Only

So there is no PayPal Express Checkout button or automatic account creation.
The customer has to register normally in the store and indicate a payment and shipping address during the checkout.
Lots of customers have old adresses in their PayPal accounts and do not check their shipping address in PayPal.
In the current module the PayPal address is taken as shipping address for the Zen Cart order, the PayPal address overwrites the shipping address that the customer has selected before in the store.
So the shopowner gets lots of orders with wrong shipping addresses and can never be sure if the customer wants the shipping really to the address in the order confirmation email or shop administration.

To solve this issue here are some modifications for the PayPal Express module in Zen Cart 1.5.3 (based on the current 1.6 code):

https://github.com/webchills/zencart/tree/PayPal-Express

This is of course only suitable for stores which are configured as described above!

With these modifications PayPal does not care about shipping addresses and the customer is not able to change the shipping address at PayPal or able to select from his PayPal address book.
No shipping options are presented and the shipping address for the order will always be the one the customer selected before during the Zen Cart checkout.
Additionaly with this modification the customer gets the PayPal website in the language he has choosen before in the store and not in the language of the shop country.
This is kind of a quick and dirty solution as I just commented out or deleted some code. Would be great to address this issue in upcoming versions as the way it is now is a real pain for many shopowners.

I've re-read through this discussion and looked at the repo posted by webchills. I'm grateful that webchills posted the code for others to access and use. There are some changes in it that might negatively impact North American stores, but I'm trying to find a way to incorporate the relevant fixes so everyone can benefit from one common solution.

I'm revisiting this issue because in a bunch of testing I've been doing this week while upgrading the API for the current PayPal Express Checkout code I discovered that all my tests did indeed reveal that the store's customer address was correctly passed to PayPal and in the PayPal screen it says "you must go back to the store if you want to change the address on this order". So, since lat9 mentioned this same thing in an earlier reply to this discussion it got me thinking that maybe this "problem" is specific to UK (or perhaps broader european) merchants. My tests this week have been with US and Canadian stores using US and Canadian addresses.

I'd be grateful if those of you who've had this problem could provide some more information:

  1. Is your PayPal EC module set to use "PayPal" API mode or "Payflow-UK" mode? (Normally it would be "PayPal", even for UK merchants, unless you're using certain Payflow features in conjunction with Payments Pro) (I'm not suggesting you change the mode, just asking which mode you're using.)
  2. In Admin->Configuration->My Store, what Country and Zone are you configured to use?
  3. Do you have zones for every province/state/region your customers might use? (ie: equivalent to US states or Australian provinces)? Or do you always have the customer enter their zone freehand?
  4. For your PayPal account, what country is your store's PayPal account domiciled in? What's its default currency set to?
  5. You indicated you did some testing and had troubles with old addresses in your "customer" PayPal account. What country is that PayPal account domiciled to?

Summary of questions:

  1. PayPal mode vs Payflow-UK mode
  2. Store's country+zone
  3. Customer addresses: must choose from defined zones? or do they always manually "type in" their province/zone/county name?
  4. Store's PayPal account's "country" and default currency
  5. Customer's PayPal account's "country"

This information (and anything else you can add) will help me try to recreate the symptoms. If I can consistently recreate the problem, then a solution can be confirmed. Otherwise it's mostly guesswork and that hinders progress significantly. So, the more info you can provide to help me recreate your same symptoms (ie: list of addons installed, configuration settings that make your store different from a typical US store, etc) the better.
Thanks!

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

27 Sep 2015, 12:53 AM
#48
earth_friendly avatar

earth_friendly

New Zenner

Join Date:
Apr 2014
Location:
NJ
Posts:
59
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

I am having a weird issue related to the Paypal Express Checkout module, and I think it is related to the discussions I have seen in this thread.
I only allow orders to the 48 contiguous states in the U.S.
For my shipping module, I have a Zones Table Rate module installed, where I have 2 zones, an Eastern States zone and a Western States zone. For each zone, I have a list of states in that zone, and I have a table for the shipping costs.
Alaska does not appear in either zone, and I have deleted it from the list of zones.
But recently, I have gotten 2 different paypal orders, where the orders are to be shipped to an address in Alaska. And, presumably because Alaska is not one of the states in either zone, the shipping cost is 0.
I thought I had set up my store so that the shipping address could only be set to the states that I have defined in my store.

I currently have these 2 settings in my Paypal Express module:
Express Checkout Shortcut Button: On
Express Checkout: Require Confirmed Address: No

It sounds like what lat9 is saying is that I might be able to fix this problem by changing
Express Checkout shortcut Button to Off.
Any thoughts on this?

Also, I just wanted to make people aware that not only is paypal overriding the shipping address that the customer sets in your zencart store, but paypal might set the shipping address to a location that you don't allow in your zencart store.

27 Sep 2015, 1:26 AM
#49
spacemonkey avatar

spacemonkey

Zen Follower

Join Date:
Nov 2013
Location:
Dorset, UK
Posts:
124
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

DrByte:

Summary of questions:

  1. PayPal mode vs Payflow-UK mode
  2. Store's country+zone
  3. Customer addresses: must choose from defined zones? or do they always manually "type in" their province/zone/county name?
  4. Store's PayPal account's "country" and default currency
  5. Customer's PayPal account's "country"

Thanks!

Hi Sensei,

I missed your data request on this one. Opps. Anyway hope this helps.

My Answers:

  1. PayPal (API)
  2. UK (GBP ONLY)
  3. I do not use Zones. Zones has been removed (commented out) from my template.
  4. UK & GBP Only
  5. UK Always

During testing I note. PayPal do not ask or hint address will be changed anywhere, no matter what Zen Cart is set to (confirmed address etc) they just simply change the address for delivery.

Also point to note: In the UK unless you use a confirmed PayPal delivery address you are not eligible to Payment Protection. Zen returns "Protection Eligibility: Ineligible" on every payment since the fix here.

I hope this helps.

Regards

SpaceMonkey

27 Sep 2015, 1:49 AM
#50
spacemonkey avatar

spacemonkey

Zen Follower

Join Date:
Nov 2013
Location:
Dorset, UK
Posts:
124
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

earth-friendly:

Also, I just wanted to make people aware that not only is paypal overriding the shipping address that the customer sets in your zencart store, but paypal might set the shipping address to a location that you don't allow in your zencart store.

Hi earth-friendly,

Sorry can't help with most of this as don't use zones. Does sound like a similar issue and this fix resolved it for me.

We only deliver 6 miles from our store and we started to get orders to deliver to Scotland (600 miles away). Our store is set to reject a delivery more than 6 miles away. Contact your customer to confirm delivery address. During "checkout" my customers were **unaware **of the changed address.

They gave correct delivery address and supplied invoice address correctly. From there the problem unfolded to lots of different addresses being used by PayPal with what appeared to be no constant.

Regards
SpaceMonkey

3 Oct 2015, 11:10 PM
#52
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Paypal Express Checkout - Shipping Address Issue

SpaceMonkey:

Hi Sensei,

I missed your data request on this one. Opps. Anyway hope this helps.

My Answers:

  1. PayPal (API)
  2. UK (GBP ONLY)
  3. I do not use Zones. Zones has been removed (commented out) from my template.
  4. UK & GBP Only
  5. UK Always

During testing I note. PayPal do not ask or hint address will be changed anywhere, no matter what Zen Cart is set to (confirmed address etc) they just simply change the address for delivery.

Also point to note: In the UK unless you use a confirmed PayPal delivery address you are not eligible to Payment Protection. Zen returns "Protection Eligibility: Ineligible" on every payment since the fix here.

I hope this helps.

Regards

SpaceMonkey
Thanks.
It would be nice to also hear from the others who had been engaged in this discussion, else I can't guarantee anything to address this will be included in the next ZC release, thus making upgrading more difficult for those who have mangled their code using the changes people have posted earlier.

DrByte:

I've re-read through this discussion and looked at the repo posted by webchills. I'm grateful that webchills posted the code for others to access and use. There are some changes in it that might negatively impact North American stores, but I'm trying to find a way to incorporate the relevant fixes so everyone can benefit from one common solution.

I'm revisiting this issue because in a bunch of testing I've been doing this week while upgrading the API for the current PayPal Express Checkout code I discovered that all my tests did indeed reveal that the store's customer address was correctly passed to PayPal and in the PayPal screen it says "you must go back to the store if you want to change the address on this order". So, since lat9 mentioned this same thing in an earlier reply to this discussion it got me thinking that maybe this "problem" is specific to UK (or perhaps broader european) merchants. My tests this week have been with US and Canadian stores using US and Canadian addresses.

I'd be grateful if those of you who've had this problem could provide some more information:

  1. Is your PayPal EC module set to use "PayPal" API mode or "Payflow-UK" mode? (Normally it would be "PayPal", even for UK merchants, unless you're using certain Payflow features in conjunction with Payments Pro) (I'm not suggesting you change the mode, just asking which mode you're using.)
  2. In Admin->Configuration->My Store, what Country and Zone are you configured to use?
  3. Do you have zones for every province/state/region your customers might use? (ie: equivalent to US states or Australian provinces)? Or do you always have the customer enter their zone freehand?
  4. For your PayPal account, what country is your store's PayPal account domiciled in? What's its default currency set to?
  5. You indicated you did some testing and had troubles with old addresses in your "customer" PayPal account. What country is that PayPal account domiciled to?

Summary of questions:

  1. PayPal mode vs Payflow-UK mode
  2. Store's country+zone
  3. Customer addresses: must choose from defined zones? or do they always manually "type in" their province/zone/county name?
  4. Store's PayPal account's "country" and default currency
  5. Customer's PayPal account's "country"

This information (and anything else you can add) will help me try to recreate the symptoms. If I can consistently recreate the problem, then a solution can be confirmed. Otherwise it's mostly guesswork and that hinders progress significantly. So, the more info you can provide to help me recreate your same symptoms (ie: list of addons installed, configuration settings that make your store different from a typical US store, etc) the better.
Thanks!

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

26 Feb 2016, 9:01 PM
#53
coins2012 avatar

coins2012

New Zenner

Join Date:
Jan 2012
Posts:
89
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

Having a issue when a customer has a middle name or a middle initial, for some reason the module drops the last name, for example if a customer has a name as XXXX Y ZZZZZZ or XXXX YYYY ZZZZZZ, the ZZZZZZ don't get imported into the orders ship to database but if the payment has first name , last name it works just fine.

How can I fix this?

25 May 2016, 7:18 AM
#54
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: Paypal Express Checkout - Shipping Address Issue

  1. Is your PayPal EC module set to use "PayPal" API mode or "Payflow-UK" mode?
    API

  2. In Admin->Configuration->My Store, what Country and Zone are you configured to use?
    Country: Austria
    Zone: Niederösterreich

  3. Do you have zones for every province/state/region your customers might use? (ie: equivalent to US states or Australian provinces)? Or do you always have the customer enter their zone freehand?
    Store is not using the zone dropdown or zone input field as it is not necessary

  4. For your PayPal account, what country is your store's PayPal account domiciled in? What's its default currency set to?
    Country: Austria
    Default Currency Euro

  5. You indicated you did some testing and had troubles with old addresses in your "customer" PayPal account. What country is that PayPal account domiciled to?
    Austria, Germany, France, happens for various countries

10 Aug 2016, 5:38 AM
#55
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: Paypal Express Checkout - Shipping Address Issue

Any progress or plans to fix this issue?

25 Aug 2016, 2:15 AM
#56
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

Hi,

I am facing the same issue - (customers having there shipping address changed to the billing address entered in Paypal).

  1. Is your PayPal EC module set to use "PayPal" API mode or "Payflow-UK" mode?
    API

  2. In Admin->Configuration->My Store, what Country and Zone are you configured to use?
    Country: New Zealand
    Zone: 190

  3. Do you have zones for every province/state/region your customers might use? Or do you always have the customer enter their zone freehand?
    Store is not using the zone dropdown or zone input field as it is not necessary

  4. For your PayPal account, what country is your store's PayPal account domiciled in? What's its default currency set to?
    Country: New Zealand
    Default Currency: NZ$

I am currently running 1.5.4, I see that there have been changes made to Paypal express checkout in 1.5.5, do these changes address/fix this issue?

Thanks,

Mike.

26 Aug 2016, 4:33 PM
#57
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: Paypal Express Checkout - Shipping Address Issue

mikecnz:

I see that there have been changes made to Paypal express checkout in 1.5.5, do these changes address/fix this issue?
The changes in 1.5.5 do not address or fix this issue.
As long as there is no better solution you can use the modified files from here:
https://github.com/webchills/zencart-de-paypal-express

15 Sep 2016, 12:13 PM
#58
oldtoot avatar

oldtoot

New Zenner

Join Date:
Oct 2011
Posts:
8
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

webchills:

The changes in 1.5.5 do not address or fix this issue.
As long as there is no better solution you can use the modified files from here:
https://github.com/webchills/zencart-de-paypal-express

Thanks for this webchills.

How does using this code affect merchants in the event of fraud?

28 Sep 2016, 5:47 PM
#59
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: Paypal Express Checkout - Shipping Address Issue

OldToot:

How does using this code affect merchants in the event of fraud?
As far as I know the Paypal seller protection is only valid if you ship to the buyers PayPal shipping address. So yes this code is affecting this.

24 Oct 2016, 7:20 PM
#60
daffy avatar

daffy

Zen Follower

Join Date:
Jul 2008
Posts:
114
Plugin Contributions:
0

Re: Paypal Express Checkout - Shipping Address Issue

Thank you. I will try the settings recommended by webchills. I'm in the USA but my customers are having a hard time with checkout ever since I upgraded to the latest ZC. The address settings in the PayPal module have been an issue all - along but it seems to be worse now.