#All3nn1ck
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
What's the error?
Hi, I've already opened a post in the docker forum so to explain the problem I'll link you the post
Hi, I’m having a problem while writing my unit tests for my node application. From my backend I contact Stripe APIs and Paypal APIs, my unit tests crashes every time I try to run my tests inside the docker because of a connection problem. When I run the same tests from my local machine they pass without problems. So I think this has to be wit...
This is my problem
This is not really a Stripe-related question. Normally it's not a problem to call external hosts from inside Docker containers. Maybe you have some restrictions in your settings.
What type of restrictions you can think of?
Does Stripe need a specific TCP port open?
Because the problems I'm getting are from these two calls: session = await this.stripe.checkout.sessions.create(options as any); or even in const price = await stripe.prices.retrieve(id);
Do other requests work?
Can you use stripe CLI from inside of the container? https://stripe.com/docs/stripe-cli