I need to send attached invoices (not those generated by EE) with my registration confirmation messages, and I cannot attach a file from within EE email messages. I must thus send my messages from an external email, in which I also need to add a link to the url of payment for the individual attendee for the the particular event (the EE “payment_url”), so that the attendee can reach his payment page for credit cards, paypal etc.
Where can I find this url for each attendee and event?
It is possible to add an attachment to the emails sent out by modifying one of the core functions (it can be added to the custom files addon for example) – https://gist.github.com/Apina/7984216
However that will send a static file so you may need to do other customisations to send something more dynamic.
In fact I had already replaced with my address, but the thank-you page has a different name in my url. I have it sorted out now.
As to the attachements in the email, I have copied the above code in a custom_functions.php file (in the uploads file; I don’t have the custom files addon), but I’m not able to see where can I attach files in the EE emails (that is. the email interface looks like before adding the code).
The file to be attached is defined in the code that Dean posted. Like Dean said, if you want something more dynamic, it would need some more coding to accomplish.
Viewing 5 reply threads
The support post ‘Payment url’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.