Jump to content

shareasell and whmcs problem


simplehelix

Recommended Posts

hi i am trying to integrate shareasell's tracking code into my order page.

 

i have placed the following into

 

default/order-complete.tpl

 

<img src="h**ps://shareasale.com/sale.cfm?amount={php}

$query = "SELECT amount FROM tblhosting WHERE id='".$_SESSION["orderdetails"]["ProductID"]."'";

$result=mysql_query($query);

$data = mysql_fetch_array($result);

echo $data["amount"];{/php}

&tracking={$ordernumber}&transtype=SALE&merchantID=xxxx" width="1" height="1">

 

*I have intentionall left out https and merchanID

 

However, it seems this is not being called at all?

 

All it takes me to is order invoice page.

 

so how and where does it invoke the order-complete.tpl?

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