sonuyos Posted May 19, 2023 Share Posted May 19, 2023 Is there any way via hook to append ?paymentsuccess=true on the URL when someone successfully redeems and pay for whole the invoice? Right now on WHMCS if user redeems on invoice then it just redirects to https://domain.com/billing/viewinvoice.php?id=83573 I want that if the user pays the invoice using Funds in their account, and the funds sufficiently cover the invoice then (not if the fund does not cover the invoice) the page that is loaded has to be https://domain.com/billing/viewinvoice.php?id=83573?paymentsuccess=true This is purely for conversion tracking, as at times we add funds in case they pay us offline. 0 Quote Link to comment Share on other sites More sharing options...
Ankit70 Posted July 16, 2023 Share Posted July 16, 2023 On 19/05/2023 at 10:04 PM, sonuyos said: Is there any way via hook to append ?paymentsuccess=true on the URL when someone successfully redeems and pay for whole the invoice? Right now on WHMCS if user redeems on invoice then it just redirects to https://domain.com/billing/viewinvoice.php?id=83573 I want that if the user pays the invoice using Funds in their account, and the funds sufficiently cover the invoice then (not if the fund does not cover the invoice) the page that is loaded has to be https://domain.com/billing/viewinvoice.php?id=83573?paymentsuccess=true This is purely for conversion tracking, as at times we add funds in case they pay us offline. Hi @sonuyos Yes! We can achieve it by using hook Thank you 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.