Jump to content

HostYorkshire

Retired Forum Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by HostYorkshire

  1. I also have 1 message in my inbox here but can't get at it.
  2. Hi Adam, What browser are you using? I have a problem with the SSL too in firefox but not ie
  3. Hi, I've been using WHMcs for a while now and Matt has been a great help. Here's my main integration at hostyorkshire.com I also use it to take payments and issue receipts from my subscription web sites which is very useful as I can also give customer full support for their subscription too. See where it starts : BONSAI HELP bonsaihelp.co.uk/subscribe.php I am now recommending WHMcs to my clients, not just for hosting but just to invoice their clients. It really is an all-round solution. OTHER FUNCTIONS I also have TXT SMS notifications enabled when support tickets are opened and payments for hosting and subscription packages are paid and setup. NEXT STEPS? Probably to play with the templates in the client area! Have fun all - I welcome your comments. Andrew
  4. Adam, what I was trying to do was see if both the contributions could be merged so that it could pull certain bits of info from the mySQL database like your script does and then post the data to me in an SMS instead of an email, that's all. At the moment I have got it sending me just a standard SMS message with no specific data about the support ticket or new order.
  5. Ok thanks, I have done it but with a work around. I used an IFRAME in the relevant templates to pull the script in. Works good now for support tickets and new orders.
  6. How do you do this? Can the script that you call be run in the background?
  7. Now I stubmbled across this mod. It would be good to pull the details from the database and include some of them in the SMS. Is anyone cleaver enough on here to do this and help me? I'm certainly not good enough with PHP to hack about... // SolidNetwork, Inc - EastSolid.com // CheckOutScript.php - v 1.0 // // This file will be ran once an order has been place // and is in the system. You are free to edit this script // to your liking. It would certainly be a very good way to view your pending orders via SMS if I could combine the two.
  8. Hi all, having great results with WHMcs. I've devised a way of sending an order notification via TXT to your mobile. It uses an API at txtlocal.com I have put this in the checkoutscript.php in hope to get a text notification when an order is made. However at the moment when the checkout script runs it executes some output of your remaining txt credits and then does not pass the order to the invoice and you chosen payment processor. Can anyone help me out with this? I need it to execute the code but not pop up any output in the browser and send them through to the payment processor to actually PAY! Here it is 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 Domain ID: $domainid Addons Array: $addons ************************************************** */ //set up variables $info = "1"; $address = "txtlocal.com/sendsmspost.php"; $message = "Host Yorkshire Web Site Order Pending. Visit WHCMS to activate?"; $message = urlencode($message); //encode special characters (e.g. £,& etc) $from = "Host Yorkshire"; $uname = "myemail@hostyorkshire.dotcom"; $pword = "#######"; $selectednums = "44787####"; //build url $data = "uname=" . $uname . "&pword=" . $pword . "&message=" . $message . "&from=" . $from . "&selectednums=" . $selectednums . "&info=" . $info; //send messages $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://$address"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_exec ($ch); curl_close ($ch); ?> It part works....errrmmm....?? Your thoughts?
×
×
  • 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