cdgco / vwi-billing

Billing Plugin for Vesta Web Interface
https://vwi.cdgtech.one/#/plugins
GNU General Public License v3.0
5 stars 5 forks source link

VWI Billing [WIP]

Stripe based billing system for Vesta Web Interface

This plugin is currently under active development and is not able to be installed.

Features

Complete:

Installation / Configuration Process

  1. Use the included billing.sql file to create the three new tables, 'billing-config', 'billing-plans', and 'billing-customers' within your existing VWI database.

    Note: If you used a table prefix other than 'vwi_' you must change the table names in the billing.sql files to your specified prefix.

  2. Connect your Stripe account by entering your Secret API Key and Public API Key in the 'sec_key' and 'pub_key' fields of the 'billing-config' table.

    You may enter a test secret and public API key in these fields to test your installation and plans.

    Alternatively, you may enter a Restricted API key in place of the Secret API Key to restrict access from the VWI endpoint to only the necessary Stripe functions.

    To use a Restricted API Key, create a new key in your Stripe developer console with the following permissions:

    Read Access:

    • Invoices

    Write Access:

    • Customers
    • Plans
    • Products
    • Subscriptions
    • Tokens
  3. Upload the 'billing' and billing-client' folders to your VWI 'plugins' folder.

  4. Activate the plugin by adding billing,billing-client to your plugins list.

Disclaimer

Vesta Web Interface and the VWI-Billing Plugin are licensed under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

Project Home

Plugin List