Jump to content

Sale not recorded?!


Guest realwarrior

Recommended Posts

Guest realwarrior

PAP3 Software

I tried to purchase using ref URL, but the sale not track under that user. The user who refer the client not credited for his comission.

But if I set Choose affiliate for not referred commission to predefine user (example USer Joe), then Joe was credited comission for that sale!!??

It happen so also to the members who click on their sponsor banner to join as subaffiliate, their name did not appear under the specify sponsor!

I then check the admin panel, found that their parent ID is "None"

Wow, what happen??

Where can I find the answer for it, since I have been looking throughout all pages... :)

Edit: Oh yes, when i am doing "intergration Wizard", i skip the Step 3 because I am using intergration module from cubecart.org. The step 3 look like this:

1. Open your order confirmation or "thank you for order" page template, and put the following code somewhere onto the page

<script id="pap_x2s6df8d" src="http://www.101moneymakingebooks.com/affiliate/scripts/sale.js" type="text/javascript"></script>

<script type="text/javascript"><!--



var TotalCost="XXXXXX.XX";

var OrderID="XXXXXX";

var ProductID="XXXXXX";

papSale();

--></script>

where the values XXXXXX should be replaced with correct values for:

TotalCost (mandatory for % commissions) - price of the product

OrderID (optional) - can be your unique generated order ID to cross-check the sale.

ProductID (optional) - the ID of the product bought.

All fields are optional, but without TotalCost system will be not able to compute percentage commissions.

Also, ProductID is required if you plan to use Force choosing commission by product ID - this is available only in Pro version.

If you need to set total sale cost and order id, but you don't have access to their values in your "Thank you" page, the situation is more complicated. There is no general solution for this. If you know that you can register sale in some other place, where those values (total cost and order id) are available, you can put the tracking code there. Otherwise, consult us for advice and finding possible solution.

This is all that is required. Now whenever there's sale, the sale tracking script sale.php is called, and it will generate commission for the affiliate.

Is it important? Could this one that I skipped that cause the trouble? :w00t:

Link to comment
Share on other sites

Where have you placed the click tracking code?

And when testing, are you clicking an affiliate link to tag yourself? This is a common mistake that I've made several times.

Link to comment
Share on other sites

Guest realwarrior

Where have you placed the click tracking code?

And when testing, are you clicking an affiliate link to tag yourself? This is a common mistake that I've made several times.

Hi,

I follow the instruction from your cubecart.org module and place the track code on global/index.php...

But I did not place the ......sale.js code anywhere as you said we can skip the step3.....if I will have to place the ....sale.js, where should I add them? And what are those value to fill in xxxxxx? I am selling digitally downloadable products....

I did the test in 2 ways:

I place the ref URL some where in another website and click on it from another PC. I did purchased of product and affiliate signup...both failed.

Another test was banner. I place the banner code somewhere in another website and clicked from another PC but still failed.

This is the live /real ref URL of my site:

http://www.101moneymakingebooks.com?a_aid=c4046eb5

and this is from banner:

http://www.101moneymakingebooks.com/?a_aid...;a_bid=198d98b3

Can someone please try to register with above link?

Link to comment
Share on other sites

Your click tracking code should look something like:

<script id="pap_x2s6df8d" src="http://www.yoursite.com/affiliate/scripts/track.js" type="text/javascript">

</script>



<script type="text/javascript">

<!--

papTrack();

//-->

</script>

And you should have this in your global index.tpl file. I'm not sure what reference pointed to the index.php file. If it was a reference about the click tracking, then things might have changed since then.

Move one step at a time and everything will come together.

Link to comment
Share on other sites

Guest realwarrior

Your click tracking code should look something like:

<script id="pap_x2s6df8d" src="http://www.yoursite.com/affiliate/scripts/track.js" type="text/javascript">

</script>



<script type="text/javascript">

<!--

papTrack();

//-->

</script>

And you should have this in your global index.tpl file. I'm not sure what reference pointed to the index.php file. If it was a reference about the click tracking, then things might have changed since then.

Move one step at a time and everything will come together.

Problem resolved!

Link to comment
Share on other sites

Guest realwarrior

Edit: Ok, Alan, I think I solved the problem....

It is all because I have another clone file named home.tpl,

I added the track code over that file and it works well now!!

Thanks.

Link to comment
Share on other sites

  • 2 months later...

OK...

CC is returning from PayPal fine....with this link:

http://mydomain.com/store/confirmed.php?tx...j1SR9lks%2bM%3d

I THINK that it looks good... has price and id etc...

But in the confirmed.php page, I get this....

<!-- begin PostAffiliatePro Affiliate Tracker -->

<img border='0' src='/affiliates/scripts/sale.php?TotalCost=0.00&OrderID=' width='0' height='0' />

<!-- end PostAffiliatePro Affiliate Tracker -->

No TOTAL transfers....this makes it impossible to pay a %...hmmmm NO order ID either....HMMMMM

Any clues??

Have tried the "fixes" out there....but still coming up short.

Link to comment
Share on other sites

I am wondering if the location of the PAP /affiliates install dir. may be part of my problem with recording sales.

I have it located in the public_btml/affiliates dir. My CC instal is in public_html/store dir.

In the CC/PAP config, I have the PAPA location as ../affiliates

Is that correct??

Thanks

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.

×
×
  • Create New...