0.1.1 • Published 4 years ago

strapi-plugin-entreprenerd-stripe v0.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Strapi plugin Entreprenerd Stripe

Installation

You should be able to install this by using npm

npm i strapi-plugin-entreprenerd-stripe

After installing you will have to rebuild your admin

npm run build

Alternatively drag this in the /plugins folder of your Strapi Install.

Then go in Roles & Permissions -> stripe -> And set the createPaymentIntent controller to be public

Usage

Add your Private Key in the Admin Panel

Methods

MethodUrlDescription
POST/stripe/payGenerates a paymentIntent for the given amount

/stripe/pay

ParameterDescription
amountThe amount in cents for your paymentIntent

This is taught in The Complete Strapi Course

You should also be able to extend this via the extensions system.

Troubleshooting

If you cannot see the plugin. Make sure to re-build your admin! npm run build

Improve this plugin

https://github.com/GalloDaSballo/strapi-plugin-entreprenerd-stripe