使用 React 一次性付款 Native/Stripe/Firebase
One-time payments with React Native/Stripe/Firebase
我已经开始使用 Firebase-Stripe 扩展实现支付流程。我还设置了一个自定义 webhook,用于在 firestore 数据库中为客户添加集合、管理产品等。但是现在我有几个概念上的问题和疑问:
是否可以从一个应用程序弹出浏览器,所有支付过程都由条纹处理(支付屏幕布局、支付选项等),然后在付款完成了吗?如果是这样,这是一种有效的方法吗?
如果我有带有附加信息和价格的门票,我可以在产品集合中以编程方式生成条纹产品,而无需在条纹仪表板中创建吗?
你能给我一个实施第 1-2 点的起点吗?我试图搜索任何参考资料来执行此操作,但我找不到任何相关的参考资料。
至少有一些帮助将不胜感激❤️
Is it possible to make browser pop-up from an app with all the payment process being handled by stripe(payment screen layout, payment options etc.) and then redirecting back to the app after the payment is finished? If so, is it an effective way to go?
您需要在您的移动应用程序中显示一个 webview,然后重定向到 Stripe Checkout,这是一个预先构建的支付页面,供您的客户输入他们的银行卡信息。
或者,有一个 Stripe 内置的 ReactNative 集成,允许您使用 PaymentSheet component.
在您的移动应用程序中本地收款。
If i have tickets with additional information and price, can i generate programmatically a stripe product in the products collection without creating it in the stripe dashboard?
使用后端服务器或向您的 Firebase 扩展添加功能,you can programmatically create Products 使用您的秘密 API 密钥。
我已经开始使用 Firebase-Stripe 扩展实现支付流程。我还设置了一个自定义 webhook,用于在 firestore 数据库中为客户添加集合、管理产品等。但是现在我有几个概念上的问题和疑问:
是否可以从一个应用程序弹出浏览器,所有支付过程都由条纹处理(支付屏幕布局、支付选项等),然后在付款完成了吗?如果是这样,这是一种有效的方法吗?
如果我有带有附加信息和价格的门票,我可以在产品集合中以编程方式生成条纹产品,而无需在条纹仪表板中创建吗?
你能给我一个实施第 1-2 点的起点吗?我试图搜索任何参考资料来执行此操作,但我找不到任何相关的参考资料。
至少有一些帮助将不胜感激❤️
Is it possible to make browser pop-up from an app with all the payment process being handled by stripe(payment screen layout, payment options etc.) and then redirecting back to the app after the payment is finished? If so, is it an effective way to go?
您需要在您的移动应用程序中显示一个 webview,然后重定向到 Stripe Checkout,这是一个预先构建的支付页面,供您的客户输入他们的银行卡信息。
或者,有一个 Stripe 内置的 ReactNative 集成,允许您使用 PaymentSheet component.
在您的移动应用程序中本地收款。If i have tickets with additional information and price, can i generate programmatically a stripe product in the products collection without creating it in the stripe dashboard?
使用后端服务器或向您的 Firebase 扩展添加功能,you can programmatically create Products 使用您的秘密 API 密钥。