the staging site is built in live mode
we have two different "modes" that we can build the frontend in: development, and prod ("live" as stripe calls it). normally, this is what we want. staging should reflect the production site exactly, so there are no surprises when we deploy to production. unfortunately, this means we can't make test donations on the staging site unless we use an actual credit card. the frontend would need to be built in dev mode for us to use a test card, and be able to properly test staging.
this doesn't just affect the frontend though. we are also unable to test the donate middleware staging site, becuase we can't make any test payments through the staging frontend
we'll need to change donate-static's CI script to build in development mode and deploy to staging, then build in production mode and prepare to deploy to production. i'm not sure that the lektor ci script is flexible enough to do what we need, so i might need to just copy that entirely into this repo, and edit as needed.
this is blocking #115, because we can't test the fix for that ticket.