About

The plugin provides the following functionality:

  • storing information about customer product subscriptions;

  • subscription price calculation;

  • generation license file for sending it to customers;

  • reporting about money distribution over product owners.

Using the plugin implemented the BGERP Development Support System, allowing us to drive our product further.

You can see the plugin enabled and sample configurations in Demo System.

Setup

The configuration below shows

Process Types

There are needed two process types: for procut

Configuration

Make sure the plugin is enabled in configuration.

Place the following configuration:

subscription:enable=1

subscription:sign.key.file=/org/bgerp/plugin/bil/subscription/demo.key.id_rsa
subscription:param.product.id={@PARAM_PRODUCT_ID}
subscription:param.user.incoming.tax.percent={@PARAM_USER_TAX_PERCENT}
subscription:param.subscription={@PARAM_SUBSCRIPTION_ID}
subscription:param.lic={@PARAM_LIC_FILE_ID}
subscription:param.email={@PARAM_EMAIL_ID}
subscription:param.limit={@PARAM_LIMIT_ID}
subscription:param.date.to={@PARAM_DATE_TO_ID}
subscription:param.cost.service={@PARAM_COST_SERVICE_ID}
subscription:param.cost.discount={@PARAM_COST_DISCOUNT_ID}
subscription:param.cost={@PARAM_COST_ID}

subscription:subscription.1.title=BGERP RUB subscription:subscription.1.process.type={@PROCESS_SUBSCRIPTION_TYPE_ID} subscription:subscription.1.param.limit.price={@PARAM_LIMIT_PRICE_RUB_ID}

Invoicing

Usage

On the screen below is shown process card with activated plugin. Each customer subscription is presented as a process with linked product processes.

subscription process

Subscription Cost parameter value is automatically recalculated on changing subscription, limit, linked products, discount or service cost parameters.

After sending an invoice and paying that, Date To parameter is changed and License File is updated.

subscription process license send

Payment Report

The plugin provides Subscription Payments Report, which shows how much money owns a report generating user to plugin owners.

payment report

User received amount for a month is taken from invoices, marked as paid by the user.

Price Calculator