ALLOW DONOR TO SELECT HIS LANGUAGE BEFORE TO PAYPA

  • Gabriel
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 10 months ago #1291 by Gabriel
really! I dont know what are you requesting me... or surely, I have not the know-how to understand it and how to do it!

On other hand I trying to skype you to: tuanpnves.com but Skype reports this user is not available.

What about your last comment?:

"There is a simpler way to have this feature and I will implement it in the next version .
Basically, we will map the country with country code and pass this code to Paypal under lc variable"


It is not possible now?

Sorry! for my limited understanding!
GammX1

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #1292 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:ALLOW DONOR TO SELECT HIS LANGUAGE BEFORE TO PAYPA
Hi
My skype nickname is tuanpnves . Please add me to your contact list so that I can guide you .
Regards,
Ossolution Team

Please Log in or Create an account to join the conversation.

  • Gabriel
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 10 months ago #1293 by Gabriel
Done! Thanks for your help!

I created the jd_language "Management Field" with the following list:

Values:
Albanian (AL)
Arabic (SA)
Bulgarian (BG)
Chinese (CN)
Croatian (HR)
Czech (CZ)
Danish (DK)
Dutch (NL)
English (UK)
English (US)
English (AU)
Estonian (EE)
Finish (FI)
French (FR)
German (DE)
Greek (GR)
Hindi (IN)
Hebrew (IR)
Italian (IT)
Indonesian (ID)
Japanese (JP)
Korean (KR)
Latvian (LV)
Lituanian (LT)
Maltese (NT)
Norwegian (NO)
Philippino (PH)
Polish (PL)
Portuguese (PT)
Romanian (RO)
Russian (RU)
Servian (CS)
Spanish (ES)
Swedich (SE)
Thai (TH)
Turkish (TR)
Slovakian (SK)
Ukranian (UA)
Vietnamese (VN)

Default value:
English (US)

Accordingly, I am ready for your assistance!. Please, SkypeMe when back online.

Thanks in advance,
Rgrds,
GammX1
www.joomlas2go.net/

Please Log in or Create an account to join the conversation.

  • Gabriel
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 10 months ago #1294 by Gabriel
Hi Tuan,
Thanks for your support!
I will test your new file provided through our today Skype Chat, inmediately.
Sure will meet my needs,
Thnkas again,
Rgrds,
GammX1 (Gabriel)

Please Log in or Create an account to join the conversation.

  • Gabriel
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 10 months ago #1295 by Gabriel
[SOLVED]

Just to confirm that your upgrade work as needed:

- If PayPal have a site under the selected "Language / Country" during the donation process then the donor will see the final PayPal web page in his language
- If not available at PayPal side, the donor will get the default PayPal US (English) web page.

You are really one of the best post sales Customer support desk (even being under commercial rules!). ;)
Keep up you excelent products and your superb post sales support!
Rgrds,
GammX1

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #1296 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:[SOLVED] ALLOW DONOR SELECT LANG BEFORE TO PAYPAL
For someone who need this feature, here are the final solution :
- Create a custom field called jd_language , type dropdown with the options as GammX1 does .
- Open the file components/com_jdonation/helper/os_paypal.php , add the following line of code :
Code:
$language = JRequest::getVar('jd_language', ''); $pos = strpos($language, '(') ; if ($pos !== false) { $languageCode = substr($language, $pos + 1, 2) ; $this->setParam('lc', $languageCode); }

After the line :

$this->_url = ' www.sandbox.paypal.com/cgi-bin/webscr ';

If you could not do it, just send us an email . We will send you the modified version of os_paypal.php file .

Thanks,
Ossolution Team

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt