I am running this node.js code to create customer on stripe account function deploy successful but failed to create customer on stripe I am not getting what I am missing.(我正在运行此node.js代码以在条带化帐户上创建客户功能部署成功,但在条带化上创建客户失败,但我没有得到我所缺少的信息。)
Fire base functions folder is also not showing the function there.(Fire base Functions文件夹也未显示该功能。)
const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.initializeApp(functions.config().firebase);
const stripe = require('stripe')("secret key here");
var customer;
stripe.customers.create(
{
email: 'customer@example.com',
},
{
maxNetworkRetries: 2,
}
);
ask by Developer translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…