Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

user language in payment module Rate Topic   - - - - -

 
  • munki
  • Junior Member
  • Members
  • Join Date: 16-Feb 10
  • 9 posts

Posted 11 January 2012 - 04:06 PM #1

is is possible to pass the language variable to a payment module, i can send to my payment gateway a specified language but am not sure how to pass this variable into the script in the first place.

Any ideas would be welcome.

 
  • munki
  • Junior Member
  • Members
  • Join Date: 16-Feb 10
  • 9 posts

Posted 11 January 2012 - 04:31 PM #2

ok i think i have found the solution
if (CART_LANGUAGE == "EN") {
$user_language = englishvalue;
} else {
$user_language = otherlanguage;
}