View Source Plausible.Billing.Subscription.Status (Plausible v0.0.1)

The subscription statuses are stored in Paddle. They can only be changed through Paddle webhooks, which always send the current subscription status via the payload.

  • active - All good with the payments. Can access stats.

  • past_due - The payment has failed, but we're trying to charge the customer again. Access to stats is still granted. There will be three retries - after 3, 5, and 7 days have passed from the first failure. After a failure on the final retry, the subscription status will change to paused. As soon as the customer updates their billing details, Paddle will charge them again, and after a successful payment, the subscription will become active again.

  • paused - we've tried to charge the customer but all the retries have failed. Stats access restricted. As soon as the customer updates their billing details, Paddle will charge them again, and after a successful payment, the subscription will become active again.

  • deleted - The customer has triggered the cancel subscription action. Access to stats should be granted for the time the customer has already paid for. If they want to upgrade again, new billing details have to be provided.

Paddle documentation links for reference:

Summary

Types

@type status() :: :deleted | :paused | :past_due | :active

Functions