jkook Posted July 11, 2008 Share Posted July 11, 2008 Thanks... I added to actionhooks.php because I counldn't find checkoutscipts.php file. My question is how can I output domain name, product ID? Here is actionhooks.php source: =================================================== define("ACTIONHOOKSINC",true); function actionhook_ShoppingCartCheckout($vars) { # This function runs when the user checks out using the shopping cart # $vars["OrderID"] - Order ID Number # $vars["OrderNumber"] - 10 Digit Order Number # $vars["InvoiceID"] - Invoice ID Number # $vars["Products"] - Array of Product IDs from Order # $vars["Addons"] - Array of Addon IDs from Order # $vars["Domains"] - Array of Domain IDs from Order $sendto = "mynumber@vtext.com"; $subject = ""; $message = "New Order"; mail($sendto, $subject, $message) ; } 0 Quote Link to comment Share on other sites More sharing options...
nugenhost Posted August 23, 2008 Share Posted August 23, 2008 What I did was make sure I had the box ticked to notify me when a new order is made, then I added my cell phone number to my regular email. blah@blah.com,1234567890@tmomail.net and sent myself a test message which I got just fine. I know I get emails when an order is submitted. Just making it easier without having to modify the script. HTH 0 Quote Link to comment Share on other sites More sharing options...
LemonBarley Posted August 26, 2008 Share Posted August 26, 2008 sad to say. it did not work for me.. 0 Quote Link to comment Share on other sites More sharing options...
LemonBarley Posted August 26, 2008 Share Posted August 26, 2008 i changed it to my personal email and its not working too. did whmcs removed the checkoutscript.php function? i also checked my option to make sure whmcs run the check out script, its checked. but still not working 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted August 27, 2008 Share Posted August 27, 2008 I think you can still create the checkoutscript function, at least in 3.6.2; I wouldn't though as the next version (3.7) removes the old shopping functionality which used checkoutscript.php. Use action hooks instead. 0 Quote Link to comment Share on other sites More sharing options...
CanDoNetwork Posted August 31, 2008 Share Posted August 31, 2008 Does anyone know if there is a valid number format for T-Mobile UK? The one listed above appears to be US only... 0 Quote Link to comment Share on other sites More sharing options...
THE BLUE DRAGON Posted September 2, 2008 Share Posted September 2, 2008 which country i can send sms ??????? 0 Quote Link to comment Share on other sites More sharing options...
rangermoore Posted September 17, 2009 Share Posted September 17, 2009 An even easier method is to setup another admin account and use the text message email address. Then just check the box that says notify about new orders. Thats what I have been doing. Thanks...Work like a charm... :) 0 Quote Link to comment Share on other sites More sharing options...
Dedigeeks-Sean Posted September 24, 2009 Share Posted September 24, 2009 Hello, Sorry, Does this support v4? The file in step 1 does not exist in the includes folder? Regards, Sean B 0 Quote Link to comment Share on other sites More sharing options...
My365Host Posted September 28, 2009 Share Posted September 28, 2009 I use the method that somebody mentioned: making an admin account with the phone email. But i only get 160 characters. I wish someone could split the email into mutliple textx 0 Quote Link to comment Share on other sites More sharing options...
sotoman Posted October 2, 2009 Share Posted October 2, 2009 i did something different, but it works! i set an email forwarder in cpanel to send a text message from my admin email to myphonenumber@sms.mycricket.com. works like a charm! i get all my new order emails and all support ticket emails to my cell phone. 0 Quote Link to comment Share on other sites More sharing options...
Raven Posted October 3, 2009 Share Posted October 3, 2009 Orange phones you need to register for orange.net email address then add it as admin subject is alowed... but no content 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.