socialincome-san / public

Fighting global poverty with the help of everyday people and your coding skills. Public repository of the NGO and global initiative Social Income.
https://socialincome.org
Other
80 stars 23 forks source link

[Email Feature]: Transactional HTML email: failed one-time payments #158

Open ssandino opened 1 year ago

ssandino commented 1 year ago

Is your feature request related to a problem? Currently, if a payment fails we are not communicating with the potential contributor and helping him to solve the issue (customer retention strategy).

Scope The scope of this issue is only the failed one-time payment of a new user (not failed payments of existing contributors). The failed one-time payment of a new contributor is the simplest case and can serve as exemplary case (being also the first transactional email on the public repo).

Describe the solution/feature Every new contributor who made a payment that didn't get through, should receive a reminder email a day later (24h after payment failed) to fix the problem. The email should be personalised and offer additional options (bank wire, twint link) for the payment.

Technical p The Stripe API should provide us following data for failed one-time payments:

Design proposition

See PR: #157

Note that this email also features our new font Unica77:

Screenshot 2022-11-09 at 00 22 04
ssandino commented 1 year ago

Adding the payment link from Stripe would be nice