jaymedavis/stripe.net — pull request #147 by benwmills (2014-03-15 15:06:44+00:00)
Title: Added support for the Stripe-Version header

This is an attempt to resolve issue #135.

I added support for the Stripe-Version header so that code can be tested against a new version of the API before upgrading the API in the Stripe dashboard (which upgrades both the live and test environments). The API version is read from the StripeApiVersion app setting in Web.config.

I didn't write any tests and I haven't used your testing framework, but I'm happy to try if you have any ideas. I was thinking maybe a test where we set the API to an old version version and assert that some feature is not available.

This is my first ever work with Git/GitHub and I'm a little unsure of the process. Please let me know if I'm making any mistakes submitting these code changes.