THIS THREAD HAS BEEN CLOSED.

redirect to custom page after successful payment

Updated on Sep 7, 2016 in FreelanceEngine
4 on Sep 6, 2016

hello,

I am using the freelanceengine theme.After a successful payment the theme automatically takes the user to the home page.Is there any way to redirect the users to another page rather than home page after successful payment?please help!

  • Liked by
3 on Sep 7, 2016

Hi Syed,

You can open page-process-payment.php file and change the line 

D:\xampp\htdocs\et\wp-content\themes\freelanceengine\page-process-payment.php125

window.location = ‘<?php echo $permalink ?>’;

ex:

window.location = ‘http://youdomain.com/new-page/’;

 

Hope this helps!

Dan.

Customer Customer
on Sep 7, 2016

Thank you so much Dan.It worked.I need some more help.The users are now redirected to my custom page.But it still says that, “You are now redirected to home page” though it takes the users to my custom page.Is there any way to rename the “home page” and set my custom page’s name there?

Mod Mod
on Sep 7, 2016

Hello Syed,

Regarding this, the theme provides a translator tool which can help you translate all text in your website.

Going to Dashboard => Engine settings => Settings => Language => Choose a language => Find the field (Hit Ctrl + F and type in the keyword) then translate the text.

You can have a look at this screenshot for reference.

http://prntscr.com/cf4g0u

Many thanks.

Customer Customer
on Sep 7, 2016

Thank you so much Chau.It worked..:)

Show more replies
  • Liked by
Cancel
Loading more replies
Posting & Replying function will be deactivated from 3pm GMT+7 12th Sep.
Read More