Forums / PayPal Express Checkout support / PayPal change country in shipping address

PayPal change country in shipping address

Locked

Views: 10,248

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
24 Nov 2009, 10:17 PM
#1
darcega avatar

darcega

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

PayPal change country in shipping address

Hello, I have problems with setting up your payment with PayPal, first try setting the payment for the option "PayPal IPN - standard, once finalized control passed to paypal, the client makes a payment but the order was not recorded in the store??? after thinking about it without success, try the option "PayPal Express Checkout", here it make the payment, the order is recorded in the store, but in the delivery address changes the country to the United States when Spain should be
Has anyone encountered this problem? Perhaps I am configuring something wrong?

Thanks in advance, we are still to solve this problem before opening the store.

David

The web shop is http://www.fotodekor.es

25 Nov 2009, 3:49 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

darcega:

Hello, I have problems with setting up your payment with PayPal, first try setting the payment for the option "PayPal IPN - standard, once finalized control passed to paypal, the client makes a payment but the order was not recorded in the store???That's a result of failed communication between PayPal and your store. There are troubleshooting directions here:
http://www.zen-cart.com/wiki/index.php/PayPal

darcega:

after thinking about it without success, try the option "PayPal Express Checkout", here it make the payment, the order is recorded in the store, but in the delivery address changes the country to the United States when Spain should be
I'm unable to recreate that problem.

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

25 Nov 2009, 8:22 PM
#3
darcega avatar

darcega

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Re: PayPal change country in shipping address

Thanks for your rapid answer and sorry for my bad english.

I'm trying again to set the payment with the option "standard", following the explanations of your link.
When finished making the payment and is returned to the store comes a blank page and the order is not recorded.
I have checked all the fields and I think the module is properly configured.

I have also used the tool ipn_check and seems to give a correct result.

25 Nov 2009, 8:37 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

darcega:

When finished making the payment and is returned to the store comes a blank page ...
You need to find out what's causing the blank page, using both of these methods:
https://www.zen-cart.com/tutorials/index.php?article=82
http://www.zen-cart.com/forum/showthread.php?t=61199

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

30 Apr 2010, 10:19 PM
#5
evolussem avatar

evolussem

New Zenner

Join Date:
Apr 2007
Posts:
8
Plugin Contributions:
0

Re: PayPal change country in shipping address

I have exactly the same problem with Paypal IPN who not record to order and Express Checkout change the country of the shipping address.

You find a solution ?

I don't understand this problem, all was ok with Paypal IPN and one day the problem was there, don't have do any modification on Zencart, why ?
I don't have find the solution, then i have install the Express Checkout modul, all was ok 6 month, and one day the problem with the shipping address country was there and again i don't have do any modification on Zencart, why again ? :frusty: :frusty: :frusty:

And since 2 days i have a errors 10417 with express checkout when a buyer from a other country try to order, again i don't have do any modification on Zencart :frusty::frusty:

I really don't undersant, really not.

30 Apr 2010, 10:27 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

What version of Zen Cart?

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

1 May 2010, 10:45 PM
#7
evolussem avatar

evolussem

New Zenner

Join Date:
Apr 2007
Posts:
8
Plugin Contributions:
0

Re: PayPal change country in shipping address

I have the 1.3.02
I know that not the last version, but the last time i try to update, lot of modul was not working, and i have receive big problem.

Keep me informed.

Thanks a lot.

1 May 2010, 10:53 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

Sorry, but MANY things have been fixed and/or improved since v1.3.0.2. You need to upgrade.

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

5 Jul 2010, 11:13 PM
#9
evolussem avatar

evolussem

New Zenner

Join Date:
Apr 2007
Posts:
8
Plugin Contributions:
0

Re: PayPal change country in shipping address

DrByte:

Sorry, but MANY things have been fixed and/or improved since v1.3.0.2. You need to upgrade.

I have do the update to the version 1.3.9d (the last), was a lot of work.

But i have the same problem again (Paypal change the country name to United State for all international order pay by Paypal), you have any idea ?

Thanks :smile:

5 Jul 2010, 11:28 PM
#10
evolussem avatar

evolussem

New Zenner

Join Date:
Apr 2007
Posts:
8
Plugin Contributions:
0

Re: PayPal change country in shipping address

I just try the modification this modification i found of the forum :

Here's the workaround:
/includes/modules/payment/paypalwpp.php
line 2316 (v1.3.8a)
Change 'title' to 'iso_code_2', as shown: Code:
$sql = $db->bindVars($sql, ':countryId', $address_question_arr['country']['title'], 'string');
becomes Code:
$sql = $db->bindVars($sql, ':countryId', $address_question_arr['country']['iso_code_2'], 'string');

THIS FIX IS INCLUDED IN v1.3.9a and newer.

Now i will wait to have a international order to see if that work.

5 Jul 2010, 11:34 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

evolussem:

I have do the update to the version 1.3.9d (the last), was a lot of work.

But i have the same problem again (Paypal change the country name to United State for all international order pay by Paypal), you have any idea ?

Thanks :smile:

evolussem:

I just try the modification this modification i found of the forum :

Here's the workaround:
/includes/modules/payment/paypalwpp.php
line 2316 (v1.3.8a)
Change 'title' to 'iso_code_2', as shown: Code:
$sql = $db->bindVars($sql, ':countryId', $address_question_arr['country']['title'], 'string');
becomes Code:
$sql = $db->bindVars($sql, ':countryId', $address_question_arr['country']['iso_code_2'], 'string');

THIS FIX IS INCLUDED IN v1.3.9a and newer.

Now i will wait to have a international order to see if that work.

If you had to make that modification, then you DID NOT actually upgrade to v1.3.9d properly.

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

16 Jul 2010, 4:10 AM
#12
eddyboy avatar

eddyboy

New Zenner

Join Date:
Nov 2008
Posts:
18
Plugin Contributions:
0

Re: PayPal change country in shipping address

Hi, Im having the same issue, when a user returns after loging into paypal from the express button, the country defults to america.

I'm running Zen Cart 1.3.8p3 Patch: 1:: and I have applied the changes to the code in this thread but the same thing still happens. I've also had somone try from Canada and the same thing hapens.

Im 100% stuck

The only thing i have been able to do is change the code a few lines above

$country_id = '223';
    $address_format_id = 2; //2 is the American format

to

$country_id = '222';
    $address_format_id = 2; //2 is the American format

so at least it defults to the country we are bassed in (United Kingdom)

Any help or ideas will save my life

Thanks

16 Jul 2010, 8:00 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

eddyboy:

I'm running Zen Cart 1.3.8p3 Patch: 1::I'm not familiar with that version.

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

16 Jul 2010, 8:30 AM
#14
eddyboy avatar

eddyboy

New Zenner

Join Date:
Nov 2008
Posts:
18
Plugin Contributions:
0

Re: PayPal change country in shipping address

DrByte:

I'm not familiar with that version.

:dontgetit

19 Jul 2010, 2:46 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

That version was not published by Zen Cart. It must have been produced by someone else for you.

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

22 Jul 2010, 2:38 PM
#16
eddyboy avatar

eddyboy

New Zenner

Join Date:
Nov 2008
Posts:
18
Plugin Contributions:
0

Re: PayPal change country in shipping address

DrByte:

That version was not published by Zen Cart. It must have been produced by someone else for you.

I just talked to my hosts who have a One click install system for zencart and they have told me that it is exactly the same set of files as avaliable on the website. So the file set is Version 1.3.8.

Thanks again. :smile:

22 Jul 2010, 3:35 PM
#17
drbyte avatar

drbyte

Sensei

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

Re: PayPal change country in shipping address

eddyboy:

I just talked to my hosts who have a One click install system for zencart and they have told me that it is exactly the same set of files as avaliable on the website. So the file set is Version 1.3.8.

Thanks again. :smile:
If it says v1.3.8p3, that's impossible.

Regardless, it's time for you to upgrade to the latest version. And note: NEVER use automated one-click upgrades. Upgrades should always be done by hand.

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