调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员工具
概览
Billing
    概览
    关于 Billing API
    订阅
    开账单
    基于用量的计费
    Connect 和 Billing
    Tax 和 Billing
    报价
    收入恢复
    自动化
    脚本
    收入确认
    客户管理
    资格
    测试您的集成
      测试时钟
        模拟订阅
        API 和高级用法
      测试您的开账单集成
税务
报告
数据
创业公司
首页销售收入BillingTest your integration

Test your integration with test clocks

Learn how to move Billing objects through time in a sandbox.

Overview

Test clocks help you test your Billing integration and make sure it behaves as designed. When you use test clocks you simulate the forward movement of time in sandbox, which causes Billing resources, like Subscriptions, to change state and trigger webhook events. This means that, for example, you don’t have to wait a year to see how your integration handles a payment failure for a quarterly or annual renewal.

Here are some other things you can do with test clocks:

  • Test complex simulations such as upgrading or changing plans mid-cycle.
  • Ensure your integration processes Billing lifecycle webhooks correctly.
  • Validate that your app handles trials correctly.
  • Build and test multi-phase subscription schedules.

How to use test clocks

Simulate subscriptions

Learn how to simulate subscriptions in a sandbox.

API and advanced usage

Learn advanced strategies for using test clocks in the Dashboard and API.

此页面的内容有帮助吗?
是否
需要帮助?联系支持。
加入我们的早期使用计划。
查看我们的更改日志。
有问题?联系销售。
LLM? Read llms.txt.
Powered by Markdoc