Any questions about Documents Sellers, post it here .

Implementing Affiliate system

  • scripto
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #25327 by scripto
Implementing Affiliate system was created by scripto
Hi Tuan, I'm trying to implement idev affiliate system for DMS or OS Membership.
From I read in here it should be easy to add the tracking code in the "Thank You" page after a successful payment. But I'm not really sure what files are need to modifiy, how can I add the code properly, and also, how to protect a Direct Access to the "Thank You" page because someone can use it to cheat the affiliate sales.
Any idea? Thanks

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #25813 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Implementing Affiliate system
Hi

The complete code is located at components/com_dms/views/complete/tmpl/default.php. You can add the code you want into that file.

The payment complete page has a parameter called order_number. It is a random string, so users cannot guest that value. So you can check that value, compare it with the value in database to make sure it is correct. By doing that, you will make sure noone can direct access to the "Thank you" page.

If you know programming, you will understand what I am saying here.

Tuan

Please Log in or Create an account to join the conversation.