简体   繁体   English

Stripe 订阅免费试用,无卡

[英]Stripe subscription free trial with no card

I am trying to implement Stripe subscription with Stripe Checkout.我正在尝试使用 Stripe Checkout 实现 Stripe 订阅。 All plans of my application have 14 days free trial.我申请的所有计划都有 14 天的免费试用期。 I can implement free trial by setting trial_end in create checkout session API, but it required Card information by default.我可以通过在create checkout session API 中设置trial_end来实现免费试用,但它默认需要卡信息。 I need to implement Free trial with No Card.我需要实施无卡免费试用。 Customer will attach card information after trial period end.客户将在试用期结束后附上卡信息。 How can I do this?我怎样才能做到这一点?

Stripe Checkout requires payment information to be provided at creation time for trialing subscriptions. Stripe Checkout 要求在创建时提供付款信息以试用订阅。 If you want to be able to not collect payment information for trialing subscriptions you'll have to make the request to create the Subscription yourself through the API and then bring the customer back to your site when the trial is over to provide payment details.如果您不希望收集试用订阅的付款信息,您必须通过API自己提出创建订阅的请求,然后在试用结束时将客户带回您的站点以提供付款详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM