Ragonz Posted October 24, 2019 Share Posted October 24, 2019 We thought we had set this up ages ago but doing some work and discovered that when someone places an order and pays for it they are redirected to the invoice page, we want to ensure they are redirected to a thanks for buying stuff page, I've had a look around but only found this reference https://requests.whmcs.com/topic/configurable-thank-you-page-order-completed Which was for WHMCS 5 and the complete.tpl file doesnt seem to exist anymore. Any suggestions? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 24, 2019 Share Posted October 24, 2019 20 minutes ago, Ragonz said: We thought we had set this up ages ago but doing some work and discovered that when someone places an order and pays for it they are redirected to the invoice page https://docs.whmcs.com/Ordering_Tab#Auto_Redirect_on_Checkout Quote Choose the behaviour when a customer clicks the place order button on the checkout page: Not automatically redirect and just show the order completed page – Customer will be shown the order completed page with a message to login to the client area to pay the outstanding invoice. Select to automatically redirect the user to the invoice – Customer will be taken to the invoice where they can review the details and click the payment button to pay. Select to automatically redirect the user to the gateway – Customer will be taken directly to the payment gateway to enter their payment details. what's the value in setup -> general settings -> ordering -> auto redirect on checkout ?? 22 minutes ago, Ragonz said: Which was for WHMCS 5 and the complete.tpl file doesnt seem to exist anymore. complete.tpl should already exist in your orderform template, e.g it will be in the standard_cart directory. btw - the WHMCS Chris in that feature request is not ChrisD from the current staff... this Chris was the one that informally enquired about me running the old forums back in early 2014 - oh what this place might have become if that had happened... sighs. 0 Quote Link to comment Share on other sites More sharing options...
Ragonz Posted October 24, 2019 Author Share Posted October 24, 2019 55 minutes ago, brian! said: what's the value in setup -> general settings -> ordering -> auto redirect on checkout ?? Automatically forward the user to the payment gateway Found complete.tpl in the standard_Cart directory but tried adding some html in the section it says to put html and no change. What I would prefer is for when clients have ordered a new service through any gateway to redirect back to a specific page site.com/thanks.php for example 0 Quote Link to comment Share on other sites More sharing options...
Ragonz Posted October 29, 2019 Author Share Posted October 29, 2019 Not figured out a way to make WHMCS do what I need yet, all I need is for it to redirect to a specific page after any order is completed (note any order, not any invoice) anyone have any ideas? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.