Results 1 to 2 of 2

Thread: Third Party Order Conversion - Affiliate Tracking - ClixGalore

  1. #1

    Question Third Party Order Conversion - Affiliate Tracking - ClixGalore

    The old integration was to put this code in template :

    Code:
    {php}
    
    $a = $this->get_template_vars('ordernumber');
    
    $query = "SELECT * FROM tblorders WHERE ordernum=" . $a . ";";
    
    $result = mysql_query ($query);
    
    $data = mysql_fetch_array ($result);
    
    $cost = $data['amount'];
    
     
    
    $this->assign('amount',round($cost,2));
    
    {/php}
    
    <img src="https://www.clixGalore.com/AdvTransaction.aspx?SV={$amount}&OID={$ordernumber}&ADID=11111" width="1" height="1">

    From this guide the template :

    Code:
    http://docs.whmcs.com/Order_Form_Templates

    If I put the code inside $ispaid it means if the payment like 2checkout is pending payment for fraud checking it dose not record the sale.

    Code:
    {if $ispaid}
    Enter any HTML code which needs to be displayed once a user has
    completed the checkout  of their order here - for example
    conversion tracking and affiliate tracking scripts
    {/if}

    After the payment is paid, It dose not record the sale as the customer dose not go to complete.tpl

    so what should be doing now ?

  2. #2
    Join Date
    Feb 2011
    Posts
    14

    Default Re: Third Party Order Conversion - Affiliate Tracking - ClixGalore

    Any solution to this? I'm facing the same issue when accepting payments via cheque (that need to be manually entered from the Admin side and therefore complete.tpl doesn't get triggered & commissions aren't credited)

Similar Threads

  1. Using Conversion Tracking
    By DimaK in forum Tips, Tricks & Howto's
    Replies: 64
    Last Post: 12-27-11, 05:30 AM
  2. Ajaz Order Form and 3rd Party affilaite tracking
    By mysmallbizu in forum Customisation & Integration Questions
    Replies: 0
    Last Post: 08-22-10, 04:42 PM