Adam Posted July 20, 2007 Share Posted July 20, 2007 [v2.0] Hey, This is version 2.0 of my checkoutscript. You can view the online change log at the below URL. Their are a total of two new features and three bug fixes that are not available in version 1.0. Change Log...: http://dev.eastsolid.com/STABLE/whmcs/checkoutscript/Change_Log.txt'>http://dev.eastsolid.com/STABLE/whmcs/checkoutscript/Change_Log.txt What does this do? - This checkoutscript will send an email (of your choice) when a new order is placed. In the email you will have detail information on the order like, client's personal information, order information and invoice/payment information. - In total, you have 27 different variables that you can use in your email. This whole script is commented out, so its really easy to customize to your liking. How do I install it? - Upload the file from the link below and replace the file in the includes folder of WHMCS. Once uploaded, make sure to enable "Run Checkoutscript" in the WHMCS Admin Panel Configuration > General Configuration > Other Download Link...: http://dev.eastsolid.com/STABLE/whmcs/checkoutscript/ If you find any bugs, please post them below. If you request help with this, please note that you can NOT contact WHMCS support. Any support request with this checkoutscript, must be posted in this thread ONLY! Enjoy! Adam Link to comment Share on other sites More sharing options...
WarmWebHost Posted July 24, 2007 Share Posted July 24, 2007 Thank you, I been use V1 and its great! Link to comment Share on other sites More sharing options...
meneketehe Posted July 24, 2007 Share Posted July 24, 2007 thank you, it works fine for me. But when someone order domain registration only, the domain name is not shown. Is it just me or anybody experience the same problem? Link to comment Share on other sites More sharing options...
Marquinhos Posted July 25, 2007 Share Posted July 25, 2007 Thank you Adam! Great script =) Link to comment Share on other sites More sharing options...
Adam Posted July 25, 2007 Author Share Posted July 25, 2007 thank you, it works fine for me.But when someone order domain registration only, the domain name is not shown. Is it just me or anybody experience the same problem? Hey, Thanks for reporting this. I personally do not offer domain services so I never need that option. I will add it on the to-do list. From, Adam Link to comment Share on other sites More sharing options...
Adam Posted July 25, 2007 Author Share Posted July 25, 2007 Thank you, I been use V1 and its great! Sweet, a loyal fan Thank you Adam! Great script =) Not as great as WHMCS :wink: From, Adam Link to comment Share on other sites More sharing options...
ramystyle Posted July 25, 2007 Share Posted July 25, 2007 SWEEEET ! Great job Adam !! I just uploaded the new version Thanks !! Link to comment Share on other sites More sharing options...
meneketehe Posted July 26, 2007 Share Posted July 26, 2007 ... Thanks for reporting this. I personally do not offer domain services so I never need that option. I will add it on the to-do list. From, Adam great thx Link to comment Share on other sites More sharing options...
othellotech Posted July 27, 2007 Share Posted July 27, 2007 Adam thought i'd try your script rather than adding soem of the same functionality to my own. question for you - what is suposed to happen afetr submission at stage 4 when an admin is creating the order for a client ? all i see is a blank page, and have to manually type teh whcms url back in to get to the point wheer I can "accept" the order. Thanks Link to comment Share on other sites More sharing options...
Adam Posted July 27, 2007 Author Share Posted July 27, 2007 Adam thought i'd try your script rather than adding soem of the same functionality to my own. question for you - what is suposed to happen afetr submission at stage 4 when an admin is creating the order for a client ? all i see is a blank page, and have to manually type teh whcms url back in to get to the point wheer I can "accept" the order. Thanks Hey, Thats an error with the script it self. I can confirm this is NOT a bug with my script. I just placed an admin order and did not get that. If you made any modifications, make sure the coding syntax is correct. From, Adam Link to comment Share on other sites More sharing options...
othellotech Posted July 29, 2007 Share Posted July 29, 2007 even using just an unmodified "raw" version of the script gives me the blank page at /admin/ordersadd.php?step=4 its definately running, and I like the new ==[ Configurable Options ]== section (hence looking to use this rather than my original script no errors reported anywheer, just ends up on a blank page after sending the email - potential bug in whmcs ? Link to comment Share on other sites More sharing options...
peewee Posted July 30, 2007 Share Posted July 30, 2007 Same problem I'vg added SMS sending option, in the checkoutscript.php SMS sends fine and it just shows blank page: mywebsite.com/order.php?step=checkout Link to comment Share on other sites More sharing options...
Adam Posted August 2, 2007 Author Share Posted August 2, 2007 Same problem I'vg added SMS sending option, in the checkoutscript.php SMS sends fine and it just shows blank page:mywebsite.com/order.php?step=checkout Can you make sure that your code is correct. From, Adam Link to comment Share on other sites More sharing options...
othellotech Posted August 2, 2007 Share Posted August 2, 2007 I can confirm on a staright WHMCS install with an unmodifed version of the v2 checkout script that s=at stage 4 it simply shows a blank page after the order Link to comment Share on other sites More sharing options...
Adam Posted August 3, 2007 Author Share Posted August 3, 2007 Hey, Add $display_errors="on"; in your configuration.php file. See what that comes up with. From, Adam Link to comment Share on other sites More sharing options...
Adam Posted August 3, 2007 Author Share Posted August 3, 2007 Hey, Just tested client side on v3.2.1 no errors. From, Adam Link to comment Share on other sites More sharing options...
othellotech Posted August 3, 2007 Share Posted August 3, 2007 Warning: Cannot modify header information - headers already sent by (output started at /home/billin2/public_html/includes/checkoutscript.php:314) in /home/billin2/public_html/admin/ordersadd.php on line 0 Link to comment Share on other sites More sharing options...
Adam Posted August 3, 2007 Author Share Posted August 3, 2007 Warning: Cannot modify header information - headers already sent by (output started at /home/billin2/public_html/includes/checkoutscript.php:314) in /home/billin2/public_html/admin/ordersadd.php on line 0 Hey, My checkoutscript is only 290 lines, so I can only guess that your checkoutscript has add-ons to it which is causing the problem (around line 314). Can you double check on this? Also, you are running v3.2.2, correct? Thanks, Adam Link to comment Share on other sites More sharing options...
othellotech Posted August 3, 2007 Share Posted August 3, 2007 Using 3.1.2 at the moment, if i take out my (already commented out) block of code it gets Warning: Cannot modify header information - headers already sent by (output started at /home/billin2/public_html/includes/checkoutscript.php:290) in /home/billin2/public_html/admin/ordersadd.php on line 0 Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted August 3, 2007 WHMCS CEO Share Posted August 3, 2007 I suspect you've got a whitespace after the closing php tag ?> Link to comment Share on other sites More sharing options...
othellotech Posted August 3, 2007 Share Posted August 3, 2007 *PERFECT* Yes, there was a CR/LF after the closing php - remoing that with vi and it works ... Link to comment Share on other sites More sharing options...
Adam Posted August 4, 2007 Author Share Posted August 4, 2007 Hey, Thanks Matt and Rob for pointing that out, I have re-uploaded the checkoutscript to fix the problem. Thanks, Adam Link to comment Share on other sites More sharing options...
serverx Posted August 25, 2007 Share Posted August 25, 2007 hi, can i know how send the order email to 2 different address? I tryied this but it's not woking: $emailto = "info@domain.com; orders@domain.com"; Thanks Link to comment Share on other sites More sharing options...
Adam Posted August 26, 2007 Author Share Posted August 26, 2007 hi, can i know how send the order email to 2 different address?I tryied this but it's not woking: $emailto = "info@domain.com; orders@domain.com"; Thanks Try, $emailto = "info@domain.com, [email]orders@domain.com[/email]"; That should work. If not let me know and I can send you a code that is a bit longer but will work. From, Adam Link to comment Share on other sites More sharing options...
serverx Posted August 27, 2007 Share Posted August 27, 2007 Thanks Adam...... it's working Link to comment Share on other sites More sharing options...
Recommended Posts