# Platform Subscription

## Why <a href="#id-1.14.x-servicesbundle-businessrules-why" id="id-1.14.x-servicesbundle-businessrules-why"></a>

The platform subscriptions exist to create a steady revenue stream for the platform to provide additional benefits to users.

## Which context <a href="#id-1.14.x-servicesbundle-businessrules-whichcontext" id="id-1.14.x-servicesbundle-businessrules-whichcontext"></a>

A platform subscription in SCND enables administrators to create and manage subscription plans that restrict access to certain marketplace features, making them available only to users with an active monthly subscription. Through the SBO, a comprehensive set of permissions can be configured to customize user access and functionality. These features are provided in exchange for a recurring monthly fee.

### **Key Features of SCND Subscription**&#x20;

* **Recurring Payments:** The system automatically charges the user periodically.
* **Access Control:** The platform grants or restricts features based on the user's plan.
* **Renewals & Cancellations:** Users can renew, cancel, or upgrade their plans.

## Interfaces <a href="#id-1.14.x-inter-userssubscription-businessrules-interfaces" id="id-1.14.x-inter-userssubscription-businessrules-interfaces"></a>

**SBO:**

* [**Platform Subscriptions**](https://app.gitbook.com/o/azXNS7QsS7i7yvHBE0Vd/s/n4EIoqjZx1xWQIo6LnjB/~/changes/63/v2.0/backoffice-sbo/platform-subscriptions)

**Front:**

* [**Platform Subscriptions**](https://app.gitbook.com/o/azXNS7QsS7i7yvHBE0Vd/s/n4EIoqjZx1xWQIo6LnjB/~/changes/63/v2.0/front-office/platform-subscriptions)

**Dashboard:**

* [**Platform Subscriptions**](https://app.gitbook.com/o/azXNS7QsS7i7yvHBE0Vd/s/n4EIoqjZx1xWQIo6LnjB/~/changes/63/v2.0/user-dashboard/platform-subscriptions)

## Configurations <a href="#id-1.14.x-inter-userssubscription-businessrules-configurations" id="id-1.14.x-inter-userssubscription-businessrules-configurations"></a>

&#x20;To learn more details on how to configure the platform subscription features access the following section >[ <mark style="color:blue;">**Platform Subscriptions**</mark> ](https://app.gitbook.com/o/azXNS7QsS7i7yvHBE0Vd/s/n4EIoqjZx1xWQIo6LnjB/~/changes/63/v2.0/backoffice-sbo/platform-subscriptions)

## Workflows <a href="#id-1.14.x-inter-userssubscription-businessrules-workflows" id="id-1.14.x-inter-userssubscription-businessrules-workflows"></a>

<figure><img src="/files/Ujnq9pl6wKsXnL4TxCfz" alt=""><figcaption></figcaption></figure>

## Prorata Calculation <a href="#id-1.14.x-inter-userssubscription-businessrules-subscriptionperiodstatus" id="id-1.14.x-inter-userssubscription-businessrules-subscriptionperiodstatus"></a>

When a user is already subscribed to a plan and chooses to upgrade to a higher-tier plan, the SCND platform applies a prorated calculation, if applicable. This calculation ensures that the user is not charged an additional amount beyond the adjusted cost based on the timing of the upgrade.

The calculated amount for the upgrade method determines the unused portion of the original subscription cost and deducts it from the price of the upgraded subscription. It calculates this amount based on the remaining days in the current billing cycle and the daily rate of the subscription cost.

For example, if a customer upgrades from a $10 per month plan to a $20 per month plan, they are charged prorated amounts for the time spent on each plan. If the upgrade occurs halfway through the billing period, the final charge is an additional $5, calculated as follows:

A credit of $5 for the unused portion of the original subscription. A charge of $10 for the remaining time on the new subscription.

### Subscription Period Status <a href="#id-1.14.x-inter-userssubscription-businessrules-subscriptionperiodstatus" id="id-1.14.x-inter-userssubscription-businessrules-subscriptionperiodstatus"></a>

* Pending: the next period, is waiting for payment.
* Payment Error: the next period has a payment issue.
* Paid: the next period was paid successfully.
* Active: the next period becomes active when the period starts (new cron command required)
* Done: the current paid period becomes done when the period ends (new cron command required)
* Canceled: the current period is paid or pending, and the active period.

## Invoices <a href="#id-1.14.x-inter-userssubscription-businessrules-specialrules" id="id-1.14.x-inter-userssubscription-businessrules-specialrules"></a>

At each subscription period renewal, the customer processes a new payment, and a new invoice is generated.

<figure><img src="/files/se2hyzDa2Lh6qjDDZ0mi" alt=""><figcaption></figcaption></figure>

The invoice contains information about subscription periods, prices, VAT, and other relevant details, as shown in the following image.

<figure><img src="/files/1UxBXu2PkNT80pN2X65Y" alt=""><figcaption></figcaption></figure>

### Test environment <a href="#id-1.14.x-inter-userssubscription-businessrules-testenvironment" id="id-1.14.x-inter-userssubscription-businessrules-testenvironment"></a>

To facilitate testing of the platform's subscription feature across various statuses and billing periods, a dedicated tool has been developed. This tool enables time manipulation within the platform, allowing for comprehensive evaluation of subscription behaviors. It integrates with the payment workflow and the Payment Service Provider (PSP). Currently, the tool is compatible exclusively with Stripe PSP.

#### Stripe PSP <a href="#id-1.14.x-inter-userssubscription-businessrules-stripepsp" id="id-1.14.x-inter-userssubscription-businessrules-stripepsp"></a>

* [Dashboard Stripe - Subscription Feature](/v2.0/core-concepts/payment-service-provider-features-psp/stripe-bundle-psp-business-rules/dashboard-stripe-subscription-feature.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://features.scnd.com/v2.0/core-concepts/platform-subscription.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
