使用订阅时如何处理下一个 steps/card 身份验证?

How to handle next steps/card authentication when working with subscriptions?

注意:我正在使用 Node.js SDK,但我假设所有 Stripe SDK 都是围绕其 REST API.

的精简包装器

在使用订阅并在创建新订阅后收到 status == incomplete 时,如何处理卡 authentication/3D-Secure/next 步骤?

文档对此不是很清楚。似乎 Subscription objects are a higher-order abstraction over PaymentIntent 对象,经常性收费,免费试用日,诸如此类。

但是,似乎不可能真正使用 PaymentIntent once you've created a subscription. And the only way to retrieve a PaymentIntent 似乎是通过使用其关联的 pi_ ID。

提前致谢。

您是否看过 Build a subscription guide on Stripe's documentation? Specifically this 部分,您在其中收集付款详细信息并确认在您的应用程序中的订阅对象上返回的付款意向 front-end。