Lewati ke konten
Buat akun
atau
Masuk
Logo Dokumen Stripe
/
Tanya AI
Buat akun
Masuk
Mulai
Pembayaran
Pendapatan
Platform dan situs belanja online
Manajemen uang
Sumber daya pengembang
Gambaran Umum
Billing
Gambaran umumTentang Billing API
Subscriptions
Invoicing
Tagihan berbasis penggunaan
Penawaran Harga
Manajemen pelanggan
Billing with other products
Pemulihan pendapatan
Otomatisasi
Coba integrasi Anda
    Gambaran umum
    Jam percobaan
      Simulasikan langganan
      API dan penggunaan lanjutan
    Tes integrasi pembuatan invoice Anda
Pajak
Gambaran umum
Use Stripe tax
Manage compliance
Pelaporan
Gambaran umum
Pilih laporan
Configure reports
API laporan
Melaporkan untuk beberapa akun
Pengakuan pendapatan
Data
Gambaran umumSkema
Laporan custom
Data Pipeline
Pengelolaan data
BerandaPendapatanTest your integrationTest clocks

Simulate subscriptions

Learn how to simulate subscriptions in a sandbox.

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.

Catatan

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.

Apakah halaman ini membantu?
YaTidak
Butuh bantuan? Hubungi Tim CS.
Bergabunglah dengan program akses awal kami.
Lihat log perubahan kami.
Ada pertanyaan? Hubungi Bagian Penjualan.
LLM? Baca llms.txt.
Dijalankan oleh Markdoc