
docex
Retired Forum Member-
Posts
25 -
Joined
-
Last visited
About docex

docex's Achievements

Junior Member (1/3)
0
Reputation
-
None of my products are actual hosting accounts. Im trying to get the welcome email for each product to send a protected link to each customer, based on which product they purchase. Each product gets a different welcome email, only WHMCS is only sending the default ORDER CONFRIMATION email no matter which product is purchased. So, I've setup a "server" for each product. Here's the contents of the server PHP file: <?php function none_ConfigOptions() { $configarray = array(); return $configarray; } function none_CreateAccount($params) { return "success"; } function none_SuspendAccount($params) { return "success"; } function none_UnsuspendAccount($params) { return "success"; } function none_TerminateAccount($params) { return "success"; } ?> The account is automatically setup, but the dang default email is still sent. Is there any way to specify which email is sent using these server settings? For example I can have it send email template #35 instead of the default email? THANK YOU THANK YOU for help.
-
I dont see much documentation in the wiki API section. Could someone PLEASE tell me how to send the email using api.php? That should fix all my problems. Thank you!!
-
The reason I want to set the account status to "Active" is because for some reason no matter what I select the welcome email for each product, the default "Order Confirmation" email is sent. I DO NOT WANT THE DEFAULT ORDER CONFIRMATION EMAIL SENT! The only way I can get the custom welcome emails to be sent is if the product is set to "Active" and you have the button to send welcome email, in which case, the proper welcome email is sent. I'm going above and beyond the necessary requirements just to get the custom welcome email to be sent, thats all.
-
So far, this is the API code that I have, but it still keeps the orders as pending: <?php function none_ConfigOptions() { $configarray = array(); return $configarray; } function none_CreateAccount($params) { return "success"; } function none_SuspendAccount($params) { return "success"; } function none_UnsuspendAccount($params) { return "success"; } function none_TerminateAccount($params) { return "success"; } ?> P.S.- Im not trying to setup an account on a server, just using WHMCS to keep track of clients/billing/etc. I have an external script that I use in conjunction with WHMCS.
-
Yes, yes, yes I know the "security" issues of instant setup on new hosting accounts I've read about over and over but I have decided that I need all new orders once the first payment is received to be set as "Active". (Just another way of automating the system for me) Can someone help me out on how to do this? I would REALLY appreciate it. **NOTE: In the product server settings, I have "automatically create the account as soon as the order is placed", but the status still remains "Pending" until I manually go in and approve it. I need to automate this process somehow.
-
If you would be so kind, I am available on live chat: http://chat.jriv.net/request_email.php?l=jriv4&x=1&deptid=4 target=new
-
I think Im still using 3.5.1 because Ive done soooo many customizations to it I hate to lose any of it. Im not actually using WHMCS for hosting. Im using it for an automated client creation/billing solution and using an external script for members only file management, so I don't have any servers setup.
-
Here's a screenshot of my product details. Notice the welcome email setting: My emails are setup and ARE NOT DISABLED: All new orders, even when paid (you can see through my test checkout for $0.01, they are set to "Pending" If you look at the "Pending" orders details page, you get this: You'll notice "Send Welcome Email" is checked on that screen. If I click "Accept Order", my custom welcome email is sent. The problem is that I would like my customers status set to "Active" and my custom welcome email sent when the customer checks out rather than the default "Order Confirmation" email. If I can accomplish this, it saves a LOT of time for me and makes things a little more automated. I hope this helps. Thanks again. If you can help me fix this I can send you a few bucks via PayPal.
-
I would write the API code for it but I dont know where to start, even though I would say I have moderate PHP knowledge. I couldn't find any examples for what I want to do. Customer checks out > status automatically changed to "Active" instead of "Pending" -OR- To solve the problem completely, send the specified welcome email for each product instead of the default "Order Confirmation" email. I have everything setup correctly, none are disabled and it will only send the default email. I noticed that if the status changes to "Active", my specified welcome email is sent instead of the default "Order Confirmation" email. Thats it. *** Again, thank you very much for your kind assistance. ***
-
OK I found api, but I still can't figure out why the default welcome emails aren't being sent. I shouldn't have to read through all this PHP in order to perform a built in function in WHMCS....
-
Yes. but my custom emails are not being sent per product. Only the default email is being sent. I found out that when a order status is changed to "active", the custom welcome email is sent, so I want to disable the default email and automatically set all orders as "active" so that my custom welcome email is sent... if that makes sense. Where can I find the InvoicePaid action hook? Im searching now, but dont see it. Thanks again for your kind help.
-
OK... no offense but I have no idea what you're talking about. And PS- thanks for the help you've given me over the past few days.
-
If they've paid, they should be set to active. And if you notice an issue in the future you can always suspend their account. Like I said, the whole point of WHMCS is to automate as much as possible. Its a hassle having to login everyday to simply mark each account as "active" and making them wait until I can login and do that before their account is fully activated. At least have the option somewhere to enable or disable this feature.