jamiewiseman Posted April 19, 2010 Share Posted April 19, 2010 Hello I'm working on an integration with our order process, and in building a module to handle invoicing for legacy clients, I want to use the api addorder function to add products to a client. I also want it to add the invoice for the products to the client, and have it paid, but I don't want to email the client these details - an existing process is already doing the emailing. If I set noemail to true in the addorder api request, that's great, the order doesn't generate an email. If, however, I set noinvoice to false, and noemail to true, I'm finding that I get no email for the order, but I do get emails for the invoice. Is that right? Is there something else I should do to suppress the email for the invoice, too? Many thanks, and hope this is clear enough, -- Jamie Wiseman -- http://www.subhub.com 0 Quote Link to comment Share on other sites More sharing options...
gknight Posted June 23, 2010 Share Posted June 23, 2010 I would love to hear the answer to this one too. I am having the same problem. 0 Quote Link to comment Share on other sites More sharing options...
gknight Posted June 24, 2010 Share Posted June 24, 2010 If I am correct, in order to avoind the emails that are being sent, you have to create the order marking noemail and no invoice to true and then create an invoice yourself in the same script marking noemail to true. If you wish any emails to be sent to the client (custom emails) have your script compose and send the script with the information gathered through the order and invoice creation process. 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.