@clevyr/pavo-stripe

The Stripe payment module for the Clevyr Pavo framework.

Usage no npm install needed!

<script type="module">
  import clevyrPavoStripe from 'https://cdn.skypack.dev/@clevyr/pavo-stripe';
</script>

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.