-
Notifications
You must be signed in to change notification settings - Fork 8
ADR #14: Email with order resume
Accepted
We wanted to send an email to the user after an order was created with the order information.
We implement it using a node module called html-pdf, which allowed us to create a pdf from a html file (that was created dynamically) and then send it to the user.
This approach was working on develop mode but when sending to production there was an error with the phantomjs on the docker container that wasn't allowing the module to work, so we had to change our approach.
Then we tried creating a PDF dynamically, mostly the same way than before but storing it and afterwards sending it but we weren't capable of taking an exisiting file and attach it to the email so we had to deprecate that option too.
Finally, as it isn't a requierement we send the email and at the end of it, the order resume in plain html is shown, therefore the user gets the information of the order as we wanted, eventhough is not the best approach, the final goal is met
- Meeting 07 02 2022
- Meeting 14 02 2022
- Meeting 21 02 2022
- Meeting 23 02 2022
- Meeting 28 02 2022
- Meeting 07 03 2022
- Meeting 14 03 2022
- Meeting 21 03 2022
- Meeting 28 03 2022
- Meeting 04 04 2022
- Meeting 18 04 2022
- Meeting 25 04 2022
- Meeting 03 05 2022
- ADR #0: Template
ADR #1: Backend Programming Language- ADR #2: IDE
- ADR #3: DB to be used
- ADR #4: Backend Programming Language
- ADR #5: REST API
- ADR #6: Backend framework
- ADR #7: Diagrams tool
- ADR #8: MongoDB API for JS
- ADR #9: Code formatter
- ADR #10: Carrier API
- ADR #11: Bing Maps (Static)
- ADR #12: Geoapify (Dynamic)
- ADR #13: Application hosting
- ADR #14: Email with order resume