Testing mode
Learn how you can experiment with billing safely before going to production
Hyperline test mode
We are well aware that setting up a billing platform can be stressful or intimidating at first glance, especially because it requires experimentation and is linked to an important aspect of your business: revenue. This is why we provide you with a test mode (also called sandbox) to conduct all kinds of tests without impacting your real account.
When switching to the test mode, this will allow you to perform fake transactions, generate false invoices, add fake customer accounts, and so on. You can get some experience with our features before setting up your real account.
This mode offers the exact same features and works the same way as your Hyperline (real) account. Please refer to this documentation to learn how to configure your product catalog, manage pricing plans, send invoices, use credits and wallets, and more.
On your test account, platform emails are sent as they would be in your real account. Please ensure caution when using emails for your test customers to avoid using real ones and prevent them from being inadvertently delivered to your actual customer mailbox.
Testing payments
We strongly encourage you to conduct tests before getting started with your real bank account(s). To do so, you can use testing credit cards and false bank account numbers as specified below.
Testing credit cards numbers
To test payments in Hyperline, you can use the false credit card numbers provided by Stripe or Mollie (see section below).
Payment Service Providers (PSP) provide testing credit cards numbers for users to perform transaction tests.
You can find testing card numbers on the following pages:
Testing direct debits
You can test direct debits with test account numbers provided by most PSPs.
You can find testing numbers you can use for Stripe on this page.
Simulate usage data without code
This applies if you want to configure your first usage-based plan and to assign a subscription to a customer in order to test Hyperline.
In the test account, you can simulate usage data by generating fake events for a specific customer. This is done in two steps:
Go to one of your customers from the Customer section
Then click on the Events tab, and click on the Simulate new events button.
Fill the Event type field with the event name used to aggregate usage in your billing plan configuration.
Fill up:
- The event type (api calls, email sent, document retrieved or created, etc.)
- The date (leave blank if you prefer)
- The number of events to create
- You can optionally add extra parameters to your event with the JSON Payload field.
Click on Create new events button when you are ready.
The events can take a few seconds to be ingested.
They will appear in your customer’s Events page.
You can easily delete them in the Events page afterward.
You are done! 🎉
You can now create your first usage-based plan based on these events.
Was this page helpful?