Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@clevyr/pavo-stripe

clevyr33ISC0.0.8

The Stripe payment module for the Clevyr Pavo framework.

readme

Clevyr Pavo Stripe Module

Exposes the stripe module

Setup

Install pavo-stripe

npm install @clevyr/pavo-stripe

Your Pavo instance will need its own stripe module with a di.js, index.js, and config/modConfig.js. Examples of these files can be found in setup/modules/stripe.

You will need to create the ecommerce sql tables in your database. Example db migration files can be found in setup/database/migrations

modConfig.js

In your mod config, you need to define these variables: (Take these from the process.env, do not hardcode the values!)

  • secretApiKey: The Stripe Secret API Key (Given by Stripe).

Usage

Once included, the pavo-stripe routes will be available.