kUdtiHaEX Posted April 15, 2012 Share Posted April 15, 2012 Here is a question: I'm creating a new order via API. So the code goes something like this: $data = array(); $data["action"] = "addorder"; $data["clientid"] = $whmcs_client_id; $data["paymentmethod"] = "banktransfer"; $data["noinvoiceemail"] = false; $data["noemail"] = false; $data["noinvoice"] = false; followed by the rest of the array which contains product information. So, I send this to API, API says that's fine, I've got the order under that client, and the Invoice is created. But, the only thing I get is "Order confirmation email" without more important "Ivoice email" which contains payment instructions. What am I doing wrong? API states this: noinvoiceemail - set true to generate but not send the invoice notification email My noinvoiceemail param is set to FALSE so logically it should create invoice, which it does, but also it should send invoice email. 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.