Ir a contenido
Crea una cuenta
o
inicia sesión
Logotipo de la documentación de Stripe
/
Pregúntale a la IA
Crear cuenta
Iniciar sesión
Empezar
Pagos
Ingresos
Plataformas y marketplaces
Gestión del dinero
Herramientas para desarrolladores
Resumen
Facturación
    Resumen
    Acerca de las API de facturación
    Suscripciones
    Invoicing
    Facturación basada en el consumo
    Connect y Billing
    Tax y Billing
    Presupuestos
    Recuperación de ingresos
    Automatizaciones
    Scripts
    Reconocimiento de ingresos
    Gestión de clientes
    Derechos
    Prueba tu integración
      Relojes de simulación
        Simular suscripciones
        API y uso avanzado
      Prueba tu integración de facturación
Impuesto
Elaboración de informes
Datos
Constitución de una startup
InicioIngresosBillingTest your integrationTest clocks

Simulate subscriptions

Learn how to simulate subscriptions in a sandbox.

Copia la página

Simulating a subscription shows you the events of a subscription, such as invoices and renewals, that are expected over the course of the simulation time.

Nota

When you run a simulation on a subscription, it appears in the Test clocks tab of the Subscriptions page. You can delete it by clicking Finish simulation. Finishing a simulation deletes all objects associated with it, including the customer and subscription, from the sandbox. It doesn’t affect live mode.

To simulate a subscription:

  1. Open the Dashboard and create a sandbox.
  2. In the subscriptions page, click the subscription to test.
  3. Click Run simulation in the banner at the top of the page.

    Customer ineligible for simulation

    The Run simulation button might be disabled if the subscription’s customer:

    • Is attached to more than three subscriptions, including scheduled subscriptions
    • Has a complex profile, with many quotes, invoices or other related objects
  4. In the modal, set the date and time to simulate and click Advance time.

You can advance time by any increment, but you can only advance them two intervals at a time from the initial frozen time. For example, if you have a monthly subscription, you can only advance the clock up to two months at a time.

When the clock is done advancing, the banner updates and displays the clock’s current time.

You can continue to make changes to your simulation and advance the time for simulations like:

  • Adding a customer balance.
  • Making a mid-cycle upgrade.
  • Adding one-off invoice items.

Repeat as many times as you need to satisfy your test case.

¿Te ha sido útil la página?
SíNo
¿Necesitas ayuda? Ponte en contacto con el equipo de soporte.
Únete a nuestro programa de acceso anticipado.
Echa un vistazo a nuestro registro de cambios.
¿Tienes alguna pregunta? Ponte en contacto con el equipo de ventas.
¿LLM? Lee llms.txt.
Con tecnología de Markdoc