- Posts: 37
- Thank you received: 0
Questions about Payment Form extension
Redirect URL after'successful' MIGS payment
- penguinhead
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 7 months ago #11661
by penguinhead
Redirect URL after'successful' MIGS payment was created by penguinhead
I have looked everywhere, and wondering if there is anyway I can nominate a SPECIFIC URL for the Payment form to redirect the user back to after they have made a successful payment via the MIGS payment gateway?
Ideally, if this doesn't exist it would be great to have a field in the future in the specific form config to specify what page the user should return to after making payment successfully. It would also be good to be able to specify a specific URL to return to after an unsuccessful payment transaction.
Right now though I just need to be able to specify where to return after successful transaction.
mike
Ideally, if this doesn't exist it would be great to have a field in the future in the specific form config to specify what page the user should return to after making payment successfully. It would also be good to be able to specify a specific URL to return to after an unsuccessful payment transaction.
Right now though I just need to be able to specify where to return after successful transaction.
mike
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 6 months ago #11713
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Redirect URL after'successful' MIGS payment
Hi
By default, the extension redirect users back to payment complete page (this page will display thank you message to user) after they complete payment. If you want users to be redirected to a different page, you will need to modify the code alitle :
1. Open the file components/com_pmform/payments/os_migs.php
2. Looks at the code at line 180 :
Change it to :
Hope this help !
Tuan
By default, the extension redirect users back to payment complete page (this page will display thank you message to user) after they complete payment. If you want users to be redirected to a different page, you will need to modify the code alitle :
1. Open the file components/com_pmform/payments/os_migs.php
2. Looks at the code at line 180 :
Code:
$mainframe->redirect('index.php?option=com_pmform&view=complete&id='.$id.'&Itemid='.$Itemid);
Change it to :
Code:
$mainframe->redirect('http://theurlyouwant.com');
Hope this help !
Tuan
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.