I'm getting along happily with a custom ecommerce store, and just created a giant workflow diagram for the client (I'll attach it FYI) but something is missing.
When a transaction is paid, the customer gets an email confirming all is on its way ... but the guy in the shop does not.
I simply cannot trust that the person in the office will log in to the website every day and scan the 'orders needing action'.
Is there currently no functionality for the guys in the store-room to get an email and start passing the order through their internal system ?!
I've read the docs as far as I could find, and crawled the code, but I can find no evidence of even a template for the email that's supposed to to the humans.
I think I can see where it should go - the payment modules, on confirm of payment trigger store_send_invoice_email($txnid);
- as I do in my own payment API I built (based on credit_card.module)
Is this totally unimplimented? If so, I can have a go at plugging one in, if anyone has some tips on which modules I should be adding this to. I expected it to be part of store.module, but there's no 'payment completed' workflow hook I can see. It's odd that this action is up to the payment plugin.