2

I'm running Firebase Cloud Functions to connect to Stripe for things such as charges, cancellations, etc.

I also have a cron task that is a Cloud Function that is called from App Engine daily. This downgrades user plans based on certain logic.

When running the cron on Firebase it runs perfectly every time. Although when running it locally I get the following error every time:

Error: An error occurred with our connection to Stripe

I found two similar answers, although both are referring to upgrading from a free plan to a paid plan. My Firebase plan is definitely Blaze (pay as you go).

Why am I getting this error when my Firebase project is a paid plan? Is it different because I'm running the functions locally?

Fizzix
  • 23,679
  • 38
  • 110
  • 176

0 Answers0