Stripe 单次充值支持多个产品吗?

huangapple go评论77阅读模式
英文:

Multiple products in single charge Stripe?

问题

我的用例是我有多个产品,其中一些是一次性付款,而其他一些是定期付款的产品。我希望只向用户收取一次费用,这样用户就不必为每个产品分别付费。根据我的研究,我们可以创建多个产品的订阅,并进行一次收费。https://stripe.com/docs/billing/subscriptions/multiple-products#creating

如果我只有一次性付款产品,我只能收到所选产品的付款金额的一次性支付(作为价格总和)。

但正如我之前提到的,我有一些是定期付款的产品。所以我的问题是,如果我在这个订阅请求中添加一次性付款产品,那么一旦定期周期结束,它们是否会再次被收费,如果是的话,我该如何在PHP中实现上述情况?

**注意:**我希望在自定义表单中实现这一点。我不想被重定向到Stripe页面。

英文:

My use case is that I have multiple products some of which are one time payment and others are recurring payment products. I want to charge the user only once so that the user doesn't have to pay for each product separately. According to my study we can create multiple product subscriptions with one charge. https://stripe.com/docs/billing/subscriptions/multiple-products#creating

If I had one-time payment products only, I can only receive one payment of the payment amount for selected products (as sum of prices).

But as I have mentioned I have some products which are recurring payment. So my question is if I add one-time payment products in this subscription request will they be charged again ones the recurring period overs, and if yes how can I Implement the above case in PHP?

Note: I want to implement this in custom form. I don't want to be redirected to stripe page.

答案1

得分: 0

你可以使用Stripe Checkout,并结合一次性和循环价格3。您可以按照此指南来将Stripe Checkout与PHP集成。

这是组合两种价格类型的示例,第一笔费用将涵盖两种定价,而第二笔费用将仅涵盖循环价格:
Stripe 单次充值支持多个产品吗?

英文:

You can use Stripe Checkout and combine both one-time and recurring prices3.
You can follow this guide in order to integrate Stripe Checkout with PHP.

Here what it will looks like for combining both prices types, the first charge will be for both pricing, and the second charge will be just for the recurring price(s):
Stripe 单次充值支持多个产品吗?

huangapple
  • 本文由 发表于 2023年1月9日 19:39:16
  • 转载请务必保留本文链接:https://go.coder-hub.com/75056740.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定