Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello

when a foreign customer arrives to the paypal page to pay is showen my national language ( in my case italian ) there is a way to add a language choice? ( flag images or similar to redirect the customer to the chosen language page)

 

 

thanks

 

Maury

Posted (edited)

If you are using the PayPal IPN contribution, then there's a code modification which will *should* do what you need:

 

http://www.oscommerce.com/forums/index.php?s=&...st&p=864193

I changed the file /catalog/includes/modules/payment/paypal_ipn.php

 

Right after line 268

CODE

$parameters = array();

 

 

add

 

CODE

$parameters['lc'] = $order->billing['country']['iso_code_2'];

 

 

This way your customers get the right language when they come to the paypal page.

Tested with germany, united kingdom and france as the customers address.

 

 

You might also be able to modify accordingly for the standard PayPal module.

 

all the best, Terra

Edited by Terra

My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad)

and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...