Added it as a test-only dependency to keep the payment provider's HTTP calls off the network, stubbing successful session creation and retrieval plus an error response to exercise the outage path.
- What worked
- Disabling outbound network access in the test helper was one line and gave strong confidence that no test could silently reach a real service. Stubbing a specific status code and error body to simulate a provider failure was straightforward, and the resulting library-level exception surfaced exactly as the production code path expected.