- Posts: 51
- Thank you received: 0
language paypal page
- Franco
- Topic Author
- Offline
- Senior Member
-
Less
More
10 years 3 months ago #62864
by Franco
language paypal page was created by Franco
Hello
I did a test with payment paypal, why when i am redirect to paypal page it is in english and not italian??
What do you think??
THank
FRank
I did a test with payment paypal, why when i am redirect to paypal page it is in english and not italian??
What do you think??
THank
FRank
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 3 months ago #62876
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic language paypal page
Hi Frank
Could you please follow the instructions below, edit the code to get it sorted:
1. Open the file components/com_osmembership/plugins/os_paypal.php
2. Find this line of code:
3. Change it to:
After that, it should work as expected
Tuan
Could you please follow the instructions below, edit the code to get it sorted:
1. Open the file components/com_osmembership/plugins/os_paypal.php
2. Find this line of code:
Code:
$this->setParam('lc', 'US');
3. Change it to:
Code:
$this->setParam('lc', 'IT');
After that, it should work as expected
Tuan
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
10 years 3 months ago #62884
by Franco
Replied by Franco on topic language paypal page
Hello
I did as you sayd but it doesn't work
I that file I found 2 lines with that code, line 145 and line 667.
I tryed first time changing just the line 145, and than changing both line but nothing it redirects to english page.
I wait other suggestion
THank
FRank
I did as you sayd but it doesn't work

I that file I found 2 lines with that code, line 145 and line 667.
I tryed first time changing just the line 145, and than changing both line but nothing it redirects to english page.
I wait other suggestion
THank
FRank
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
10 years 3 months ago #62885
by Franco
Replied by Franco on topic language paypal page
Hello Tuan
I solved using the solution in this post joomdonation.com/forum/membership-pro/27...guage-of-paypal.html
Pratically I changed this line
$this->setParam('country', OSMembershipHelper::getCountryCode($row->country));
in
$this->setParam('IT', OSMembershipHelper::getCountryCode($row->country));
What do you think?? is it correct?
About $this->setParam('lc', 'US'); Can I change it in both line ??
Thanks
FRank
I solved using the solution in this post joomdonation.com/forum/membership-pro/27...guage-of-paypal.html
Pratically I changed this line
$this->setParam('country', OSMembershipHelper::getCountryCode($row->country));
in
$this->setParam('IT', OSMembershipHelper::getCountryCode($row->country));
What do you think?? is it correct?
About $this->setParam('lc', 'US'); Can I change it in both line ??
Thanks
FRank
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 3 months ago #62970
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic language paypal page
Hi Frank
The code you made change doesn't make sense to me. Maybe you don't have country field showed on subscription form and that's the reason of the error ? Could you send me the link to the subscription page so that I can look at it?
Tuan
The code you made change doesn't make sense to me. Maybe you don't have country field showed on subscription form and that's the reason of the error ? Could you send me the link to the subscription page so that I can look at it?
Tuan
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
10 years 3 months ago #62982
by Franco
Replied by Franco on topic language paypal page
I understand what you mean.
Infact I had disabled the field countries in the form subscription.
So now I have replace the os_paypal.php with the original file, than I have enabled the field countries in subscription form with just one country published "Italy".
In this way the user cant change the country couse there is just one ( it is ok couse my web site is just for italian user).
I did a test and now paypal page is in italian language
.
JUst 2 question
Can I make invisible the field country with Italy value in the registration form?
When I back from login page of Pay Pal (without pay) in Subscribers of Membership pro, the subscription looks pending?? it is normal?? Could it be deleted automatically??
Thanks
FRank
Infact I had disabled the field countries in the form subscription.
So now I have replace the os_paypal.php with the original file, than I have enabled the field countries in subscription form with just one country published "Italy".
In this way the user cant change the country couse there is just one ( it is ok couse my web site is just for italian user).
I did a test and now paypal page is in italian language

JUst 2 question
Can I make invisible the field country with Italy value in the registration form?
When I back from login page of Pay Pal (without pay) in Subscribers of Membership pro, the subscription looks pending?? it is normal?? Could it be deleted automatically??
Thanks
FRank
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 3 months ago #62983
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic language paypal page
Hi Frank
Please:
1. Get this file, unzip it, upload to components/com_osmembership/plugins folder of your site.
2. Go to Membership Pro -> Configuration, find the config option Default Country, set it to your country.
3. Then you can hide the country field and it will still being redirected to your language
Regards,
Tuan
Please:
1. Get this file, unzip it, upload to components/com_osmembership/plugins folder of your site.
2. Go to Membership Pro -> Configuration, find the config option Default Country, set it to your country.
3. Then you can hide the country field and it will still being redirected to your language
Regards,
Tuan
- Franco
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
10 years 3 months ago - 10 years 3 months ago #62984
by Franco
Replied by Franco on topic language paypal page
Perfect it works 
I have to overwrite with your file when I update next time Mambership pro??
And about my second question about the pending status after back from pay pal page not payed?
Big thanks for your help
FRank

I have to overwrite with your file when I update next time Mambership pro??
And about my second question about the pending status after back from pay pal page not payed?
Big thanks for your help
FRank
Last edit: 10 years 3 months ago by Franco.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 3 months ago #62986
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic language paypal page
This change will be updated to latest version, so you won't have to wrory about it when you upgrade to next release.
And about Paypal pending, Yes, it is normal. If you don't make payment at Paypal, you will be Pending. We could not detect it automatically
Tuan
And about Paypal pending, Yes, it is normal. If you don't make payment at Paypal, you will be Pending. We could not detect it automatically
Tuan
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
10 years 3 months ago #62987
by Franco
Replied by Franco on topic language paypal page
Perfect
Thanks
Thanks
Please Log in or Create an account to join the conversation.
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.