We have a use case where we want transaction emails (complete, fullfill, etc) to be sent to the customer who executed the transaction (and whose email adresse is provided to Wallee via the
customerEmailAddress of the
Transaction), but also to another email adress that could be defined dynamically per transaction (our users are employees of a company, which might have a dedicated email adresse where all invoices must be sent, for example).
We cannot use the Email configuration to define those additional carbon copy adresses, since we don't know them beforehand, they are managed by the users themselves, and they shouldn't be used for all transactions, obviously. So that's not an option.
I've seen that we can add email addresses to the transaction's
Adresses (invoice and/or shipping) through the
emailAddress property, but if I understood the API documentation correctly, if an email adresse is present in either the invoice
Address or the shipping
Address, this is the one where documents will be sent, regardless of wether the Transaction has a
Can anyone confirm that?
And is the use case I described above achievable at all?
Thanks in advance!