在使用Angular和Firebase实施Stripe付款的教程文档中,它在旁注中说:
"附注:您需要一个付费的Firebase帐户才能使此云功能正常运行。 Firebase会阻止免费“Spark”计划中的外部API请求。"
答案 0 :(得分:0)
从云功能调用第三方Web服务需要付费项目。
您可以在Firebase documentation on setting up Cloud Functions:
中查看此内容Spark计划中的Firebase项目只能向Google API发出出站请求。对第三方API的请求失败并显示错误。有关升级项目的详细信息,请参阅Pricing。
Spark计划仅允许出站网络请求到Google拥有的服务。
在以前关于同一主题的一些问题中: