thanks, this was really useful.
One thing that tripped me up is that I had to install stripe-php, and then it took me a while to figure out that I needed to install an older version of stripe-php (c1.18.0) for it to work. I was getting "Failure to load Stripe API PHP Client Library." Then it all worked for me. Thanks again.