In the tutorial docs of implementing Stripe payments with Angular and Firebase it says in a side note:
"Side Note: You will need a paid Firebase account for this cloud function to work. Firebase blocks external API requests on the free “Spark” plan."