Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Avoid resending emails that have already been sent #96
When a donation is changed from Paid to Pending and then back to Paid, the donation receipt & admin notification will be sent twice.
When an email is sent, it should be logged. There are a few options:
The latter is definitely a quick, easy approach. If we combine it with a future approach to revamp how logs are stored (as comments instead of meta), I think this is fine. We should probably store the timestamp as the meta value.