Jump to content

naichunlei

Retired Forum Member
  • Posts

    11
  • Joined

  • Last visited

Everything posted by naichunlei

  1. It's for 3rd party application integration... like affiliate programs etc...
  2. It's weird that WHMCS is installed as iso because it won't support chinese... but if I change it to UTF then it won't support french... We support both french and chinese...
  3. I think we are trying to figure out the samething. http://forum.whmcs.com/showthread.php?p=40175 Mind to share your code Webservio?
  4. So I think matching the program_id in JROX with $productid from WHMCS checkout script should do the trick. Am I correct?
  5. checkoutscript.php: <?php /* ************************************************** ************** WHMCS CheckOut Script ************* ************************************************** You may enter code here which will be run when a user checks out if you have enabled it in Configuration > General Configuration > Other of your WHMCS Admin Area. The following variables are available to you: ************************************************** Order ID: $orderid Order Number: $ordernumber Invoice ID: $invoiceid Product ID: $productid Domains Array: $domains Addons Array: $addons ************************************************** */ // 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']; ?>
  6. I got replies from JROX folks: ==================================================================== If you can set some code that maps the products to the program ID, then you can do it. Here's a logical example (not code) If product A is purchased, then run this code for program ID 1: $JAMIntegrate = file_get_contents("http://www.domain.com/affiliates/sale.php?amount=".$amount."&trans_id=".$ordernumber."&custom_mid=".$_COOKIE['jrox']." &program_id=1"); If product B is purchased, then run trhis code for program ID 2: $JAMIntegrate = file_get_contents("http://www.domain.com/affiliates/sale.php?amount=".$amount."&trans_id=".$ordernumber."&custom_mid=".$_COOKIE['jrox']." &program_id=2"); If you notice the "&program_id=1", option in the integration code - this forces the commission to use the commission settings for that program in JAM. This might be how you can integrate it according to your preferences. However, you'll have to turn the logic here into some code for WHMCS integration. ====================================================================
  7. WHMCS and JROX are installed on 2 different domain name.
  8. Hi, I'm trying to integrate WHMCS & JROX. I'm using Paypal to accept payment. I put the code for WHMCS & JROX integration found in JROX knowledge base in the checkout script. The problem I'm having is that I have multiple programs in JROX. I have 6 products with different commission rate and different recurring periods. (1) Monthly Payment Basic Package (1-tier:$10, 2-tier:$5) (2) Monthly Payment Business Package (1-tier:$15, 2-tier:$5) (3) Monthly Payment OnlineShop Package (1-tier:$20, 2-tier:$5) (4) Annually Payment Basic Package (1-tier:$100, 2-tier:$50) (5) Annually Payment Business Package (1-tier:$150, 2-tier:$50) (6) Annually Payment OnlineShop Package (1-tier:$200, 2-tier:$50) How do we know if different products purchased on WHMCS get traced correctly on JROX? Does the code on checkout script differentiate between different products? Anyone has any luck integrating these 2 application with multiple products?
  9. I was wondering how many people here are using SWSoft Sitebuilder here? I manage to create hosting package automatically after customer purchase on PLESK but Sitebuilder users are not created. I'd need to create Sitebuilder users manually one by one after the hosting package is created... Anyone has a solution to automate this step?
×
×
  • 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