In Order Types you can specify an email address for: "Send a copy of the receipt to this email:" which is great when the customer places the order. However, when you resend the receipt (often times this happens due to changes in customer/order info) a copy is not sent to the address specified in the "Send a copy of the receipt to this email:"
This is a feature request to also send a copy to the specified email in "Send a copy of the receipt to this email:" when you resend the receipt.

Comments

djween created an issue. See original summary.

99gs3’s picture

Second this request.

MailChannels entered an incorrect field into a DNSSEC DS record for mailchannels.net, causing name resolution errors.

Our orders were completing and payment received but emails were not being sent out.
Although we can request to resend receipt but this will only send a copy to the customer and not a copy to us for our own record.

abramm’s picture

Version: 8.x-2.37 » 8.x-2.x-dev
Related issues: +#3236416: OrderReceiptMail should honor order BCC even if not passed to send()

Just checked the code, and it should be easy to implement.
Also, this appears to be a duplicate of #3236416: OrderReceiptMail should honor order BCC even if not passed to send().

However, a UX question arises.
a) Should receipts copies be always resent to the BCC address? I don't think this is an option as it would change the behavior of existing sites on upgrades.
b) Or should there be a setting in order type (like a 'Send copies of re-sent receipts' checkbox next to the 'Send a copy of the receipt to this email' field in order type settings)?
c) Or maybe the checkbox could be added to the resend confirmation form/page.

I'd prefer option b) but it's up to Commerce maintainers to decide.

lisastreeter’s picture

Just chiming in here since I did something similar to option "c" with a little bit of custom code. It's been working well in production for many months now (used on a daily basis.) Most of our orders are created administratively, so "resend receipt" for us is actually used to send the "initial" receipt.

Here's a full description of what I did: https://www.susubi.io/sa/order-receipt-resend-copy

The biggest difference between the request here and what I did is that we have an option to copy the address of the administrative user who clicks the button rather than the generic "customer service" email that's copied when receipts are sent automatically.