Jump to content

jrox and cart.php


Brett

Recommended Posts

I have a question, how can I use the actionhooks.php script with the jrox integration code?

 

 // You got mail!
mail($emailto, $subject, $message, $headers);

$result=mysql_query("SELECT * FROM tblorders WHERE ordernum = '$ordernumber' LIMIT 1");
$row = mysql_fetch_array($result);
$amount = $row['amount'];

$JAMIntegrate = file_get_contents("http://www.domain.com/affiliates/sale.php?amount=".$amount."&trans_id=".$ordernumber."&custom_mid=".$_COOKIE['jrox']."");

 

That is what jrox has in their docs, but that is for the legacy checkoutscript.php

 

What I have gathered is that I will need to have something in the action hooks file.

 

I will need to have the integration code in the InvoicePaid as well for the recurring I assume.

 

Any help would be greatly appreciated.

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