Dealing with Third-Party APIs

  • Bala Paranj


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.


Credit Card Unit Test Integration Test Internet Connectivity Test Pass 
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.

Copyright information

© Bala Paranj 2017

Authors and Affiliations

  • Bala Paranj
    • 1
  1. 1.AtlantaUSA

Personalised recommendations