update readme and bump version

This commit is contained in:
matty 2023-12-14 17:27:31 -05:00
parent 78456b8868
commit 89729cab43
2 changed files with 4 additions and 2 deletions

View File

@ -41,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. 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. 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. 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. 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. 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. 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. Now, configure your Currency and Page description in the plugin settings.

View File

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