- Posts: 24
- Thank you received: 0
Questions about Payment Form extension
PM_CANCELLED not traslated and Paypal Italian site
- claudiodestasio
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 1 month ago #13619
by claudiodestasio
PM_CANCELLED not traslated and Paypal Italian site was created 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!
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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 1 month ago #13634
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: PM_CANCELLED not traslated and Paypal Italian site
Hi claudiodestasio
=> 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"
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 :
3. Change it to :
After that, it should work as expected !
Regards,
Tuan
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
-
Less
More
- Posts: 24
- Thank you received: 0
13 years 1 month 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...
www.studiodestasio.it/pagamenti
Now testing Documents Seller...
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.