Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    Default Getting PayPal to default to English -

    I am so close - but this one is killing me. I have an Italian client, they have opened and account with PayPal.it - unfortunately this means that when a user comes to PayPal from their store, PayPal is presented in Italian (whether logging in to use PayPal or when trying to pay by credit card). We are selling to the US, so we really need the page to be in English. Here is the site: http://aurumitaliangold.com/

    I have corresponded with PayPal - and I have a lucid answer - but I can not implement it. I am running Zen Cart 1.3.7.1, Database Patch Level: 1.3.7.1

    Here is what PayPal is telling me - can anyone suggest how I can implement it (we are hosted by SiteGround and they are no help).
    "Thank you for contacting PayPal Merchant Technical Support.

    Let me begin by apologising for any confusion caused. I accept that issues like yours can be very confusing and I hope that by clarifying the situation and offering you the right advice I can help you resolve it.

    Firstly, to clarify, you are using Express Checkout with Zen cart is that correct?

    (me - yes)

    If so, rather than using "lc" you will be using the variable "LOCALECODE"

    As per Chapter 3 page 28 of our developer's guide:
    https://www.paypal.com/en_US/pdf/PP_...loperGuide.pdf

    By adding:
    &LOCALECODE=US
    directly into the SetExpressCheckout request being passed to PayPal, the language of the PayPal checkout will change.

    Having said that, I appreciate that by using Zen Cart to implement your checkout, you may not have direct access to the code in order to make the required changes. I would therefore encourage you to contact Zen Cart support directly and request that they add this information into the SetExpressCheckout request that is generated by your cart for you. PayPal does not have access to the code generated by Zen cart to make this change.

    Without passing this information, the PayPal login/ billing information page will be set to that of the merchant's PayPal account. This means that the Rosetta country menu (the drop-down menu at the top of the PayPal checkout) will only be displayed if it detects that your customer's browser does not contain an Italian cookie. By this I mean, this menu will only be displayed if the person testing has never visited an Italian site previously.

    To conclude, if your Zen Cart administration panel for:
    modules -> payments -> Express Checkout
    does not provide you with the option to select language/ display country,

    (me - it doesn't!)

    you will need to contact Zen Cart directly and request that they pass "LOCALECODE" for you."
    Of course - my Zen Cart control panel doesn't offer the above. Is there anyway to get this to work, or do I have to go back to my client and tell them I am an idiot???

    I can get to the DB though with phpMyAdmin if that helps anyone...

    Thanks -

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Getting PayPal to default to English -

    Zen Cart already passes LOCALECODE based on the customer's currently-selected language.
    What is your "short code" for English in your Admin->Localization->Languages area?
    .

    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.

  3. #3
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting PayPal to default to English -

    Hm - it is English:

    English (default) en

    and it is on...

  4. #4
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting PayPal to default to English -

    I also tested "US" and that didn't work either...

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Getting PayPal to default to English -

    Please turn on paypal debug logging, and post your logs.
    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.

  6. #6
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting PayPal to default to English -

    Okay - just put something in the cart, clicked on Check Out with PayPal, and was presented with the page in Italian - that is as far as I went:


    Jan-14-2008 03:17:37
    ec_step1 - 1
    Checking to see if we are in markflow
    cart contents: physical

    NOTE: $this->showPaymentPage = 0
    Customer ID: 0
    Session Data: Array
    (
    [customers_host_address] => host86-68-dynamic.57-82-r.retail.telecomitalia.it
    [cartID] =>
    [cart] => shoppingCart Object
    (
    [contents] => Array
    (
    [5:1087adbbda4a13e1b71c79b19ec32320] => Array
    (
    [qty] => 1
    [attributes] => Array
    (
    [2] => 7
    )

    )

    )

    [total] => 1085
    [weight] => 0
    [cartID] => 09723
    [content_type] => physical
    [free_shipping_item] => 0
    [free_shipping_weight] => 0
    [free_shipping_price] => 0
    [observers] => Array
    (
    )

    )

    [navigation] => navigationHistory Object
    (
    [path] => Array
    (
    [0] => Array
    (
    [page] => index
    [mode] => NONSSL
    [get] => Array
    (
    [type] => ec
    )

    [post] => Array
    (
    )

    )

    )

    [snapshot] => Array
    (
    )

    [observers] => Array
    (
    )

    )

    [check_valid] => true
    [language] => english
    [languages_id] => 1
    [languages_code] => en
    [currency] => EUR
    [updateExpirations] => 1
    [session_counter] => 1
    [customers_ip_address] => 82.57.68.86
    [new_products_id_in_cart] => 5:1087adbbda4a13e1b71c79b19ec32320
    [valid_to_checkout] => 1
    [cart_errors] =>
    [payment] => paypalwpp
    )

    =================================

    Jan-14-2008 03:17:37
    getOverrideAddress - 4
    not logged in and not in markflow mode - nothing to override
    =================================

    Jan-14-2008 03:17:37
    ec_step1 - 2 -submit
    Array
    (
    [RETURNURL] => http://aurumitaliangold.com/ipn_main...er.php?type=ec
    [CANCELURL] => http://aurumitaliangold.com/index.ph...mp;ec_cancel=1
    [LOCALECODE] => IT
    [CURRENCY] => EUR
    [PAYMENTACTION] => Sale
    [SOLUTIONTYPE] => SOLE
    )

    =================================

    Let me know if you need more - if you want a whole transaction I will need to set up some test products, etc.

    Thank you!

  7. #7
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting PayPal to default to English -

    Hmm - so - I see this:

    "[LOCALECODE] => IT"

    So there is something not working... I am trying this from Italy (but in English of course), but I have had people test it from the US with the same results...

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Getting PayPal to default to English -

    Quote Originally Posted by afinta View Post
    Hmm - so - I see this:

    "[LOCALECODE] => IT"
    This comes from your store's country setting in Admin->Configuration->My Store.

    It seems half the world wants it to be based on where their store is located, and the other half wants it based on the customer's language choice.

    If you want to change how it works, you can feel free to modify the "getLanguageCode()" function in your /includes/modules/payment/paypalwpp.php file.
    .

    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.

  9. #9
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Getting PayPal to default to English -

    Well I just changed it to US and now it works - wow - that was too much time spent on such a simple fix! Thank you -

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Getting PayPal to default to English -

    Quote Originally Posted by DrByte View Post
    It seems half the world wants it to be based on where their store is located, and the other half wants it based on the customer's language choice.
    I find that an interesting statement. Who decides if Language is based on Store location or Customer location?


    Would it have anything to do with this setting as well as Country setting?

    Admin->Configuration->My Store

    Language Selector
    Should the default language be based on the Store preferences, or the customer's browser settings?

    Default: Store's default settings

    [x]Default
    [ ]Browser


    afinta, for the sake of curiosity, could you make the above change, from Default to Browser, and see what happens with PayPal?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Default Language: 2-English revise to 1-English
    By mydanilo in forum General Questions
    Replies: 2
    Last Post: 17 Mar 2015, 02:08 PM
  2. Replies: 14
    Last Post: 16 Feb 2012, 10:59 PM
  3. Getting rid of default messages
    By injected in forum Basic Configuration
    Replies: 3
    Last Post: 21 Jan 2008, 10:08 AM
  4. Getting rid of default text
    By isaiah36 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Jan 2007, 01:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR