First off, Infusionsoft is sending two invoices when we check: Email receipts/invoices upon successful payment and use the api to manually pay the invoice. If this wouldn’t happen, we wouldn’t need the next part…
We would like to use sendTemplate to send a payed invoice. However, there does not seem to be a way to set the invoice/order id, so all the order metadata is not populated (~Invoice.PurchaseRows~). Any ideas or is it even possible?
We experienced an issue last week regarding duplicate invoices, which should be resolved now. If this is still occurring for you, we will need to open a ticket to resolve it as well.
We have a mechanism for sending emails in the XMLRPC API (“APIEmailService.sendEmail”) which could be used to construct an invoice email from other API data, but we do not currently have a method to send a variable invoice to a contact.
I just tested this and I am still getting two invoices when using the API and no BCC from the template. When doing it thru the CRM we get 1 and the BCC.
I will check, but I doubt it. When the “Email receipts/invoices upon successful payment?” is “no”, we get no invoices. Also, the BCC didn’t work when using the API, but does when using the website.