Questions about Payment Form extension

PM_CANCELLED not traslated and Paypal Italian site

  • claudiodestasio
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 2 months ago #13619 by claudiodestasio
Hi, sorry for my english!
I just installed Payment form (now i'm testing it).
If i cancel i payment after redirect to paypal, i have the message "PM_CANCELLED" that i don't find in the language file. Also adding manually not resolve the issue.
Secondo question: it's possible force paypal italian version of the site?

Thank's!

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

More
12 years 2 months ago #13634 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: PM_CANCELLED not traslated and Paypal Italian site
Hi claudiodestasio

If i cancel i payment after redirect to paypal, i have the message "PM_CANCELLED" that i don't find in the language file. Also adding manually not resolve the issue


=> Yes, you are correct. I forgot to add that language string into the language file. However, adding a language string to language files should solve the problem . The steps are :

1. Open the language files (language/en-GB/en-GB.com_pmform.ini and language/it-IT/it-IT.com_pmform.ini)

2. Add the following line at the bottom of file :

PM_CANCELLED="Payment Cancelled"

Secondo question: it's possible force paypal italian version of the site?


The solution is force Italian language in Paypal page. The steps are :

1. Open the file components/com_pmform/payments/os_paypal.php

2. Find the code below :
Code:
$this->setParam('lc', 'US');

3. Change it to :
Code:
$this->setParam('lc', 'IT');

After that, it should work as expected !

Regards,

Tuan

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

  • claudiodestasio
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 2 months ago #13645 by claudiodestasio
Replied by claudiodestasio on topic Re: PM_CANCELLED not traslated and Paypal Italian site
Perfect! All done and online my first module:
www.studiodestasio.it/pagamenti

Now testing Documents Seller...

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

Moderators: Tuan Pham Ngoc