- Posts: 5
- Thank you received: 0
Questions about Payment Form extension
redirect back to site after paypal payment
- slink
- Topic Author
- Offline
- New Member
-
Less
More
13 years 6 months ago #9418
by slink
redirect back to site after paypal payment was created by slink
Hi - Is is possible to get a redirect back to my home page after the paypal payment has been made?
Many thanks
Many thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 6 months ago #9419
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: redirect back to site after paypal payment
Hi
Yes . It is possible with small modification to the code .
Open the file components/com_pmform/payments/os_paypal.php, looks at the code at line 93 :
And change it to :
After that, users will be redirected back to homepage of your site after making payment .
Regards,
Tuan
Yes . It is possible with small modification to the code .
Open the file components/com_pmform/payments/os_paypal.php, looks at the code at line 93 :
Code:
$this->setParam('return', $siteUrl.'index.php?option=com_pmform&view=complete&id='.$row->id.'&Itemid='.$Itemid);
And change it to :
Code:
$this->setParam('return', $siteUrl);
After that, users will be redirected back to homepage of your site after making payment .
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- disconnect
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
13 years 2 months ago #11608
by disconnect
Replied by disconnect on topic Re: redirect back to site after paypal payment
Hello,
I am trying to accomplish this same thing, specifically after a subscription is set up. I tried to follow the instructions, but I do not seem to have a components/com_pmform/ directory.
Some help would be greatly appreciated
Thanks
Chris
I am trying to accomplish this same thing, specifically after a subscription is set up. I tried to follow the instructions, but I do not seem to have a components/com_pmform/ directory.
Some help would be greatly appreciated
Thanks
Chris
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 2 months ago #11612
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: redirect back to site after paypal payment
Hi Chris
What extension you are using and want to do the modification ? This modification used for Payment Form, if you need modification for a different component, please let me know so that I can tell you the location of file need to be modified !
Tuan
What extension you are using and want to do the modification ? This modification used for Payment Form, if you need modification for a different component, please let me know so that I can tell you the location of file need to be modified !
Tuan
Please Log in or Create an account to join the conversation.
- disconnect
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
13 years 2 months ago - 13 years 2 months ago #11619
by disconnect
Replied by disconnect on topic Re: redirect back to site after paypal payment
I guess that would be com_jdonation? I added it to my main menu, so it's just the default donation page, not using campaigns.
It seems people are given a button to return to the site from the paypal page, but the button to return has the text "Return to my@email.com" where my@email.com is my paypal address. If they click it, it takes them to my page, is there a way to change the text of this button?
Thanks
Chris
It seems people are given a button to return to the site from the paypal page, but the button to return has the text "Return to my@email.com" where my@email.com is my paypal address. If they click it, it takes them to my page, is there a way to change the text of this button?
Thanks
Chris
Last edit: 13 years 2 months ago by disconnect.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 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.