This simplifies in a few ways, as it eliminates a dependency on Vue, eliminates a dependency on bootstrap-vue, and elimnates a dependency on Google Cloud Storage
But then reverted it because I realized it broke certain places where Vue was updating the value reactively.
I think I’m approaching the point where it might stop making sense to port components one by one to HTML custom elements and instead just do a big rip-the-band-aid, drop Vue in one fell swoop.
Continued adding support for billing through Paddle
Added error handling for various invalid Paddle subscription states (e.g., trial, past due)
Realized I have to do a bunch of extra work to batch charges
I had thought that Paddle prevented you from billing a customer less than $0.70 per bill
It turns out that you can’t increment a customer’s bill by less than $0.70
This is bad news for Zestful, as I bill $0.02 per ingredient, so I wouldn’t be able to bill customers unless they pass at least 35 ingredients per request.
Now, I’m planning to integrate a datastore so that I can store requests when they’re below Paddle’s threshold and then call Paddle to bill every 50 ingredients or so.
Exploding Servers
Added support for spinning up GPU-based Scaleway servers
I added these before I understood how to use the CMD property in Docker, so I thought I had to create new environment variables and then use a wrapper script to turn them into command-line flags. But it turns out that you can just pass through command-line flags directly with Docker’s CMD.