Billing Process
Invoicing
At the beginning of each month, Scalingo computes your consumption for the expired month and generates an invoice. The consumption is based on the lifespan of the resources used by each of your apps. This includes containers, add-ons, databases, one-off containers, review-apps, etc.
When the platform processes a payment, it will select one payment method based on the priority order below. This chosen method will then be used for all retries of the payment attempt.
Priority Order
- Prepaid Credits
- If there is enough credit, the invoice is paid entirely using credits.
- If there is not enough credit, the next available payment method (according to the priority order below) will be tried to pay the invoice.
- SEPA
- If at least one SEPA mandate is available, the one marked as default will be used.
- Debit/Credit Card
- If at least one Debit/Credit Card is available, the one marked as default will be used.
- Failure
- If none of the above methods can be chosen, the invoice is marked as failed and will be retried later. If the failure persists after multiple retries, your Scalingo account will be suspended.
Payment Failure
Fixing Payment Failure
It can happen that a payment of a bill fails. There are many reasons for that: credit card expiration, bank rejection…
In such a case:
-
Update an existing payment method or add a new one
- If you are paying via prepaid credits and you don’t have enough credits, the invoice is considered as unpaid. You will have to add enough credits to pay the invoice.
- If you are paying via credit card, the platform marks your invoice as unpaid after the first payment failure. You will have to resolve the issue (most of the time the card has simply expired).
-
Scalingo automatically retries the payment several times before quitting. If the payment still fails, the account is suspended, which means all the applications and addons linked to the account are put on hold.
- If the situation is not fixed after a while, we may delete the apps and data.
Recovering From a Suspended Account
To fully recover after your account has been suspended:
- From your web browser, open your dashboard
- Select the app you want to resume
- If the app has a database addon, resume it
- Scale your application’s containers to a value > 0
- Your application is back online
Monitoring Account Suspensions
The following events are available to monitor account suspensions:
Event | Description |
---|---|
app_stopped |
An app has been stopped.reason field is set to payment_failure
|
addon_resumed |
An addon has been resumed |
addon_suspended |
An addon has been suspended |
To learn more about events and notifications, please visit the page dedicated to app notifications.