Posted: December 15, 2013 at 1:48 pm
|
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? |
|
Hi, 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 answer to your question, the payment URL is http://www.YOURSITE.com/thank-you/?r_id=1-52a05dc32e544 After the ?r_id= is the attendees unique id number. |
|
Thank you Dean. The second url in your message (concerning the payment url) takes me to a landing page of magnificentstocks.com. I suppose this is not right? |
|
Hi, No it was an example, the YOURSITE.com needs to be replaced with your own websites web address. |
|
Thank you. 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. |
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.