Jump to content

Bitrain

Retired Forum Member
  • Posts

    13
  • Joined

  • Last visited

About Bitrain

Bitrain's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi there, https://whmcs.com.ua
  2. Hello, I have same problem. Strange, but this method http://www.idevdirect.com/whmcs.php not work for me with idev 5.1 and whmcs 3.7.1 and editing correct templates. Emerson, which method you use in "Auto Redirect on Checkout"?
  3. Hi, Register .ru there: http://www.nic.ru/en/index.html
  4. Hi rtartar Depending on which processing method you have use, please follow my posts. All things work fine. PS. If you have a complexity you can PM me.
  5. Here is our integration: Main site: http://www.lemarx.net WHMCS: http://clients.lemarx.net/ Comments?
  6. Hi vitolim If you use cart processing method, then follow only my last post.
  7. othellotech It was solution for order processing. Now for using cart processing. 1. Open in editor your WHMCS_install_directory/include/actionhooks.php 2. After function actionhook_ShoppingCartCheckout($vars) { and before } add this code: $orderid = $vars["OrderID"]; $ord_num = $vars["OrderNumber"]; $pap_query = mysql_query("select amount from tblorders WHERE id='$orderid'"); $pap_query = mysql_fetch_array($pap_query); $pap_saleamt = $pap_query['amount']; $url = "http://www.yourdomain.com/affiliate/scripts/sale.php?TotalCost=$pap_saleamt&OrderID=$orderid&ProductID=$ord_num"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 100); $result = curl_exec($ch); curl_close($ch); Change http://www.yourdomain.com/affiliate tou your location where PAP installed. Hope this also helps integrate WHMCS with PAP
  8. Below is the correct step-by-step to integrate WHMCS with Post Affiliate Pro: PS. I find what new version WHMCS 3.5.1 not have checkoutscript.php but have actionhooks.php I don't know why, but actionhooks.php not work for me. When I check box in "Configuration -> Other -> Run Script on CheckOut" and not make any changes in actionhooks.php I have on checkout a blank page. Well, here is steps: 1. Login to your WHMCS admin panel and check box "Run Script on CheckOut" in Configuration -> Other. 2. In your PAP admin panel go to "Tools -> Integration Wizard -> Step 2. Clicks tracking" 3. In "Clicks tracking" choice "new style". In field "Complete URL to main site" type your main URL, for example: http://www.yourdomain.com/index.php and put "Clicks tracking code" to your index.php page. 4. Create empty file checkoutscript.php and put insaid your new file this code: <?php $pap_query = mysql_query("select amount from tblorders WHERE id='$orderid'"); $pap_query = mysql_fetch_array($pap_query); $pap_saleamt = $pap_query['amount']; $pap_ordernum = $orderid; print "<img border=0 src=\"http://www.yourdomain.com/affiliate/scripts/sale.php?TotalCost=$pap_saleamt&OrderID=$pap_ordernum \"width=1 height=1 alt=\"affiliate-image\">"; ?> Change http://www.yourdomain.com/affiliate tou your location where PAP installed. 5. Upload your new checkoutscript.php to WHMCS_install_directory/includes After that configure your PAP and campaigns. It work fine for me. Hope this help you!
  9. webservio Look this thread: http://forum.whmcs.com/showpost.php?p=35068&postcount=6 Hope this help you. Regards
  10. Thanks a lot Matt! Very fast support and answers PS. Another one question. If I oreder a Integration Service then how soon it will be ready? I am php programmer and designer, but not have time for do this. I must send skin in .pdf, etc. etc... how all things can be talking not on forum, it is possiple talk in private?
  11. Hello, I have play now with 15 days with free trial (before for 3 yers I have use awbs) and like WHMCS and like purchaser this product. I have a one question, can I integrate WHMCS with Post Affiliate PRO http:www.qualityunit.com/postaffiliatepro/? PS to admins: Why I can't post (www) link about my affiliate software? I must have 15 post before I can post (www) links? It's stupid conf for your forum :wink:
×
×
  • 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