Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal Locale settings

Paypal Locale settings

Views: 1,568

Results 1 to 2 of 2
7 Jul 2011, 3:13 PM
#1
rebelman avatar

rebelman

New Zenner

Join Date:
Nov 2010
Posts:
53
Plugin Contributions:
0

Paypal Locale settings

Hi,
I am using Paypal Express Checkout and everything is working fine, however when a customer gets redirected to Paypal to enter their credit card details the default country showing is USA. Can this be changed to Ireland ? I believe there is a list that shows Ireland is not one of the supported countries, if this is the case can this be changed to United Kingdom?

When I contacted Paypal they told me all I needed to do was to ensure the LOCALECODE was set to IE or the SHIPTOCOUNTRYCODE to IE. As you can from the logs below, SHIPTO COUNTRYCODE is set to IE. Where do I change the LOCALECODE setting?

See Paypal log below:

Request Parameters: {SetExpressCheckout} 
Array
(
    [AMT] => 15.50
    [ITEMAMT] => 15.50
    [L_NUMBER0] => xxxxxx
    [L_NAME0] => xxxxxxxxxx
    [L_DESC0] =>  xxxxxxxxxxx
    [L_AMT0] => 15.50
    [L_QTY0] => 1
    [LOCALECODE] => US    [PAYMENTACTION] => Sale
    [ALLOWNOTE] => 1
    [LANDINGPAGE] => Billing
    [EMAIL] => xxxxxxx
    [SHIPTOPHONENUM] => xxxxxxx
    [RETURNURL] => https://www.nameyourgift.ie/ipn_main_handler.php?type=ec
    [CANCELURL] => https://www.nameyourgift.ie/index.php?main_page=checkout_shipping&ec_cancel=1
    [PAGESTYLE] => Primary
    [METHOD] => SetExpressCheckout
    [CURRENCYCODE] => EUR
    [USER] => xxxxxxxxxxx
    [PWD] => ****************
    [VERSION] => 60.0
    [SIGNATURE] => ****************************************************jytG
)
Request Parameters: {DoExpressCheckoutPayment} 
Array
(
    [AMT] => 15.50
    [ITEMAMT] => 15.50
    [L_NUMBER0] => xxxxxx
    [L_NAME0] => xxxxxx
    [L_DESC0] =>  xxxxxxxx
    [L_AMT0] => 15.50
    [L_QTY0] => 1
    [SHIPTONAME] => xxxxxxxx
    [SHIPTOSTREET] => xxxxxx
    [SHIPTOSTREET2] => xxxxxxxx
    [SHIPTOCITY] => xxxxxx
    [SHIPTOSTATE] => xxxx
    [SHIPTOZIP] => 0000
    [SHIPTOCOUNTRYCODE] => IE
    [BUTTONSOURCE] => ZenCart-EC_us
    [RETURNFMFDETAILS] => 0
    [CUSTOM] => EC-55-1309684863
    [INVNUM] => 55-1309684863-[wwwnameyourgiftie]
    [TOKEN] => EC-6BB79006U1988083S
    [PAYERID] => xxxxxxxx
    [PAYMENTACTION] => Sale
    [NOTIFYURL] => https://www.nameyourgift.ie/ipn_main_handler.php
    [METHOD] => DoExpressCheckoutPayment
    [CURRENCYCODE] => EUR
    [USER] => xxxxxxxx
    [PWD] => ****************
    [VERSION] => 60.0
    [SIGNATURE] => ****************************************************jytG
)
7 Jul 2011, 4:44 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Paypal Locale settings

LOCALECODE is set based on the customer's address. If their country, or selected language, isn't in PayPal's official list of supported locales, it defaults to US, just like PayPal does.