Compare commits

...

2 Commits

Author SHA1 Message Date
89729cab43 update readme and bump version 2023-12-14 17:27:31 -05:00
78456b8868 update installation instructions 2023-12-14 17:25:53 -05:00
2 changed files with 11 additions and 2 deletions

View File

@ -26,6 +26,13 @@ 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.
@ -34,11 +41,13 @@ 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.0.0/router/webhook
Its like https://your-instance.tld/plugins/ncd-sell-storage/1.1.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.1",
"version": "1.1.2",
"author": "matty",
"bugs": "https://gitea.nicecrew.digital/matty/peertube-plugin-ncd-sell-storage",
"clientScripts": [