Jump to content

How to append ?paymentsuccess=true when applying Funds in account for user?


Recommended Posts

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.

Link to comment
Share on other sites

  • 1 month later...
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 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated