stripe-payments - Stripe : Subscriptions without charging

标签 stripe-payments payment-gateway payment

在我们的应用程序中,我们需要根据应用程序本身的某些条件稍后向客户收费。我可以通过在收费时将capture指定为false来轻松地对单次付款执行此操作,但我没有看到任何此类订阅选项,并且客户最初会被收取费用,这是我们希望避免的。

有没有办法在创建订阅时不向客户收费?

最佳答案

2 个选项:

正如@Zico在评论中所说,在订阅选项中,您可以定义“试用期”。

请参阅此处的文档:https://stripe.com/docs/subscriptions/trials

When creating a subscription with a trial period, no payment method is required for the customer. An immediate invoice is still created, but for $0.

满足您的要求的更强大方法是将订阅金额设置为 0,然后使用 Webhook 来计费您想要的任何内容,在每个计费周期结束时添加发票项目。如果您想要开具账单,您可以使用 invoice.created 事件执行一些业务逻辑并向发票添加项目。如果您不添加任何项目,则不会收取任何费用,因为订阅金额为 0

更多详细信息请点击 https://stripe.com/docs/subscriptions/invoices

When Stripe automatically generates an invoice for a recurring payment, your site is notified via webhooks (an invoice.created event). Stripe waits approximately an hour before attempting to pay that invoice. In that time, you can add invoice items to the recently-created invoice so that the forthcoming payment covers it.

关于stripe-payments - Stripe : Subscriptions without charging,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46116854/

相关文章:

stripe-payments - INR(印度卢比)发行的 Stripe 支付

ruby-on-rails - Stripe 连接入职限制国家? (锁定到 'Australia' )

ios - 用于 Paypal token 的 Paypal iOS SDK

stripe-payments - Stripe 取消预授权

ruby-on-rails - 如何减慢 capybara 的速度?

ruby-on-rails - 订阅的短信支付平台?

ssl - 支付网关 URL 子域

php - Woocommerce 在订单感谢页面上删除银行帐号

ios - 什么时候在服务器产品模型的 SKPaymentQueue 上调用 finishTransaction?

php - PrestaShop 1.6 后台分页无法正常工作