Compare commits

..

No commits in common. "89729cab436f1f45b20872f852cfa79548ccf3cf" and "dc4f0ee08897367dc90ab5b2c00ef41a894bf4d0" have entirely different histories.

2 changed files with 2 additions and 11 deletions

View File

@ -26,13 +26,6 @@ Check [Prerequisites](#Prerequisites) to install this plugin
- Search for "ncd-sell-storage"
- Click Install near the plugin name
## If installing locally
- Clone Git repository
- cd peertube-plugin-ncd-sell-storage
- yarn
- yarn build
- Install via PeerTube CLI
### Configuration
You need to configuration the plugin to work.
Create an account on https://stripe.com to start.
@ -41,13 +34,11 @@ Create an account on https://stripe.com to start.
In your Stripe dashboard, you can test in "Test mode", and go live by unchecking "Test mode" in the top right.
To go in live mode, you need to fill form in Stripe side. We recommand you to test in Test mode the integration before go in live.
# Note: If you perform a transaction in Test Mode, you'll need to manually clear the subscription status because the webhook will not send back the correct validation response, meaning the changes will take effect but nothing will be charged. Use a dedicated test account.
First, go to the Developer tab, and navigate to "API Keys". Grab your Secret API key, and insert it in your plugin settings.
After that, always in the Developer tab, navigate to Webhook and create a webhook.
An example of webhook URL is available in your plugin settings.
Its like https://your-instance.tld/plugins/ncd-sell-storage/1.1.0/router/webhook
Its like https://your-instance.tld/plugins/ncd-sell-storage/1.0.0/router/webhook
Keep in mind, you need to update the webhook URL on stripe-side for each new plugin version, because the version is in the URL.
Now, configure your Currency and Page description in the plugin settings.

View File

@ -1,7 +1,7 @@
{
"name": "peertube-plugin-ncd-sell-storage",
"description": "NCD fork of the peertube-plugin-orion-sell-storage to sell storage to users using Stripe",
"version": "1.1.2",
"version": "1.1.1",
"author": "matty",
"bugs": "https://gitea.nicecrew.digital/matty/peertube-plugin-ncd-sell-storage",
"clientScripts": [