Dealing with Third-Party APIs

Bala Paranj · Apress eBooks · 2017

This chapter will cover integration testing and using fixtures to speed up tests that go over the network to interact with third-party servers. Stripe is an online payment platform that processes credit card transactions. We will be using the stripe gem that is published by Stripe to develop a monthly subscription feature. We can subscribe a customer to an existing subscription plan, update a subscription, and cancel an existing subscription to a plan. The update feature will enable customers to upgrade or downgrade their subscription. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Read the paper · More papers on PaperTik