effective-altruism-australia / donation_portal

Effective Altruism Australia's donation infrastructure
https://effectivealtruism.org.au
MIT License
3 stars 6 forks source link

Gift certificates #97

Closed bentoner closed 5 years ago

bentoner commented 5 years ago

Suggestion (via @norrishd): for gift donations it would be awesome if the email included a little PDF "gift certificate" with info on the charity & the impact of the donation (like from the impact calculator page generates).

This requires designing a template in HTML. You could start from https://github.com/effective-altruism-australia/donation_portal/blob/master/donation/templates/receipts/receipt_base.html (which, in the case of receipts, we then combine with their data via https://github.com/effective-altruism-australia/donation_portal/blob/master/donation/templates/receipts/receipt.html and convert to PDF).

(For impact, see #65 too.)

norrishd commented 5 years ago

I might be game to take this on, but i still have only the haziest of ideas how the server is set up or what the infrastructure is so probably need someone to talk me through it all/give access etc.

bentoner commented 5 years ago

@norrishd Sorry, I was unclear. The hard part of this is making an HTML template for the gift certificate. The rest is easy. I was trying to ask if you'd be able to help make a template then we could do the rest. The HTML file can be worked on without setting anything up. The deliverable would be an HTML file (or files) like the ones linked for receipts above. It should look good when converted to PDF using the command line tool wkhtmltopdf.

norrishd commented 5 years ago

Oh great! Sorry for being daft. I'd be happy to take this on then if no one gets to it sooner.

I'm away with very limited internet for Christmas though, so realistically might not be able to start till early in the new year.

bentoner commented 5 years ago

Okay cool. No rush.

On Sun, Dec 23, 2018 at 12:38 PM David Norrish notifications@github.com wrote:

Oh great! Sorry for being daft. I'd be happy to take this on then if no one gets to it sooner.

I'm away with very limited internet for Christmas though, so realistically might not be able to start till early in the new year.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/effective-altruism-australia/donation_portal/issues/97#issuecomment-449608399, or mute the thread https://github.com/notifications/unsubscribe-auth/AAASuy9LsY-HmUAImTsV9HXlccmJVdM-ks5u7t6VgaJpZM4ZfUjk .