Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Paypal link redirecting to wrong language

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Paypal link redirecting to wrong language

Tagged: Language, PayPal, russian

  • This topic has 13 replies, 8 voices, and was last updated 10 years, 2 months ago by wpCommerce.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • November 29, 2010 at 10:22 am #2295
    tdako
    Member

    Hi,

    I have just installed the eStore plugin and all seems to be working fine, except that when a visitor clicks the “Checkout with Paypal” button, it redirects to the dutch paypal page and not an english one.

    I am based in Holland, but most of my visitors will be from outside holland, the UK and the US. I have done some test runs and I get to the dutch paypal page. That’s ok, but I have had two people test from the UK and Ghana and they also are redirected to the dutch Paypal page.

    I read a couple of posts here that the redirection should go to the language of the visitor, but in this case it is not.

    Do I need to change something in the code somewhere? In the link, it shows up as:

    https://www.paypal.com/nl/cgi-bin/webscr?cmd= etc. I can get the english page by changing the “nl” to “en”, but i couldn’t ask my visitors to do that each time.

    Thanks a lot for any help on this.

    Cheers

    Teddy

    November 29, 2010 at 11:14 pm #26889
    wzp
    Moderator

    What do you have for “Shopping Cart Language?”

    November 30, 2010 at 1:16 am #26890
    amin007
    Participant

    There are a few factors that determines this. The plugin always redirects to the original PayPal site (www.paypal.com) but your (seller) PayPal account determines which PayPal site your visitor will be redirected to. In your PayPal profile you should be able to specify which PayPal site it should go to.

    This post has more info for you and code modification to force PayPal to use a certain language:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-send-buyers-to-english-url-version-of-paypal-checkout-page

    November 30, 2010 at 12:57 pm #26891
    tdako
    Member

    Hi,

    Thanks very much for the responses. My cart language is in English. Amin, I tried the code addition in the post you mentioned and it works. Only difference is that with US, it goes to the old Paypal signin/payment page and not the new one, but that is fine. I prefer the english page.

    Thanks again

    Teddy

    December 1, 2010 at 12:39 am #26892
    amin007
    Participant

    Glad to hear that it worked.

    “it goes to the old Paypal signin/payment page and not the new one” – This is something PayPal is testing so when you are going to get the new checkout is not always guaranteed. Let PayPal do its thing and know that the payment will be processed properly :)

    December 1, 2010 at 7:08 am #26893
    tdako
    Member

    “Let Paypal do its thing…”. Will do….;)

    November 13, 2011 at 7:10 pm #26894
    garthwright
    Member

    How do I set paypal to show in russian language. That customer can only enter their cc info and make a purchase without need to create paypal account.

    Thank you

    November 13, 2011 at 10:19 pm #26895
    Peter
    Member

    Hi,

    You can set your language encoding to Russian in your PayPal profile.

    Simply log into your PayPal account and go to the “Profile” section and choose “My selling Tools” and then click on the “Paypal Button language encoding” link. In here you can set the language encoding to your preferred setting.

    (Note: PayPal quite often changes their menu structure and the above may be slightly different for you but you should still be able to find this configuration item by looking in the PayPal help page)

    Regarding the payment by credit card: People can use their credit/debit cards to pay without creating a PayPal account. There is nothing you need to configure for this because when people are initially taken to the PayPal page after they click on the “Buy Now” or “Checkout” button they will be presented with a choice of either paying by credit card or logging into their PayPal account (you will need to have a premier or business PayPal account)

    November 14, 2011 at 11:06 am #26896
    garthwright
    Member

    I did that change but still I get paypal page in english instead of russian. What do I do wrong?

    November 15, 2011 at 12:05 am #26897
    admin
    Keymaster

    When the customer lands on the PayPal checkout page, PayPal is suppose to redirect to the correct language version based on the preference you have in your profile. What URL value do you see when you land on PayPal? Is it “.com.us” or your country’s PayPal URL?

    November 15, 2011 at 12:21 pm #26898
    garthwright
    Member

    I can see paypal.com/cz probably because I am in Czech Republic but my clients will be in Russia, Kazakhstan, Ukraine etc. so I need the paypal page always appear in russian. Is there any way how to force it to show in russian? thank you

    November 15, 2011 at 10:32 pm #26899
    admin
    Keymaster

    Do the following to set the language to English by force (you can use this same technique to set other language also):

    Open the “eStore_advanced_configs.php” file and search for the following line of code:

    define('WP_ESTORE_FORCE_LANGUAGE_OF_PAYPAL_PAGE', '0');

    Once you find it, change it to the following:

    define('WP_ESTORE_FORCE_LANGUAGE_OF_PAYPAL_PAGE', 'US');

    That should force the language of the PayPal page to English

    This page has a full list of usable country/region codes:

    https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_api_nvp_country_codes

    Save and upload the file and it should show the language you specified here (in this case US English).

    April 24, 2015 at 5:26 pm #26900
    bertrand kervella
    Member

    Hello,

    Any idea about which code to put for the French language?

    I followed your instruction and I put :

    $myPaypal->addField(‘lc’, ‘FR’);

    $myPaypal->addField(‘cmd’, ‘_cart’);

    but it didn’t work.

    I’ve also tried:

    $myPaypal->addField(‘lc’, ‘fr_FR’);

    $myPaypal->addField(‘cmd’, ‘_cart’);

    but also didn’t work

    I went to the site : [https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_api_nvp_country_codes] but didn’t find any info about the language code.

    Best regards,

    Bertrand

    April 25, 2015 at 12:00 am #26901
    wpCommerce
    Moderator

    @bertrand, It’s FR for France. Did you upload the file to your server via FTP?

    https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

    Also, read the admins reply just above yours and do that (instead of what you did).

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ