Giter VIP home page Giter VIP logo

donations's People

Contributors

artofcode- avatar

Stargazers

 avatar

Watchers

 avatar  avatar

donations's Issues

Let's not send "incomplete donation" email if it's incomplete due to backend errors

If a logged-in user starts a donation but doesn't complete it, we (once) send email about it. The email is well-written and not naggy, but it does assume that the incomplete transaction was the user's doing. โ€‹I think we intended it for the case where the user might have meant to complete the transaction and maybe even thought it was complete (missed a final click).

We recently had some problems with Stripe, so users trying to make donations got error messages. Then they got email asking about the incomplete transaction. Beyond Stripe errors, we could theoretically have some other server error, like the API call failing or timing out or something. Can we not send the email if the attempted donation produced an error?

I really hope this is a rare occurrence, but it's also something that can aggravate the affected people. Can we add this check to our send-email logic?

Internal server error after adding a donation

The donations server fails with "Internal Server Error" if there is an entry in the donations table. I've tried a bunch of permutations, including amounts with and without currency symbols. I can't find a way to enter data that doeesn't cause a failure.

Here's an example from the admin console:

screen shot showing one donation

Public name: Another test
Message: Keep up the good work :-)
Date: 2022-01-01
Amount: $5.00
Link: (a valid link to a Stripe transaction)

When I deleted that entry, the page worked again (with no data, of course):

screen shot: success, not server error

I then created a simpler entry: name, message, date, amount, but no link. Failed.
I removed the amount: failed.
Then the message: failed.
Then the date (so there is now only a name): failed.
Removed even the name: failed.

Removed the now-empty entry: worked again.

This is a blocker for publicly thanking our donors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.