From 9dc5a96d96c1922972ed30b590c6a43ab9ee6af1 Mon Sep 17 00:00:00 2001 From: Arcadier Date: Fri, 28 Jun 2019 16:25:06 +0800 Subject: [PATCH] Instructions to integrate with Plug-Ins --- stripe-subscription/README.md | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 stripe-subscription/README.md diff --git a/stripe-subscription/README.md b/stripe-subscription/README.md new file mode 100644 index 0000000..83cd83a --- /dev/null +++ b/stripe-subscription/README.md @@ -0,0 +1,44 @@ +## Integrating Stripe in your Plug-In + +This will run you through the steps to integrate Stripe into your plug-in and get paid for your plug-in’s usage. + +### Subscription payment + +1. Create a Stripe Dashboard Account and find your API keys + +Navigate to dashboard.stripe.com and register for an account. The dashboard looks like this: + +![Stripe Dashboard](https://bootstrap.arcadier.com/github/A.PNG) + +Since we will be dealing with Stripe's APIs, you need to know your publishable and secret keys; they are found under the **Developers > API keys** section. + +![API keys](https://bootstrap.arcadier.com/github/B.PNG) + + +2. Create a Product + +Another thing you will need before integrating Stripe to your Plug-in, is a "Product". Go to **Billing** - it will drop down - and select **Products** and Click on **"Add a new Product"**. + +![New Product](https://bootstrap.arcadier.com/github/C.PNG) + +This "Product" is basically your Plug-In, so go ahead and give it its details. + +![New Product](https://bootstrap.arcadier.com/github/D.PNG) + +Decide its pricing plan: + +![New Product](https://bootstrap.arcadier.com/github/E.PNG) + +![New Product](https://bootstrap.arcadier.com/github/F.PNG) + +Now, you have all the information needed at hand; the *product ID* and the **plan ID**. The **plan ID** can be found by clicking on the Pricing Plan, "Hello World Money" in this example. + + +The source code to charge recurring payments from your customers is hosted on Arcadier’s Github (https://github.com/Arcadier/Plug-In-Demos/tree/master/stripe-subscription). The flowchart provides a brief overview of how it works. + + + + + + +