0.0.10 • Published 5 years ago

@clevyr/pavo-heartland v0.0.10

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

Clevyr Pavo Heartland Module

Exposes the heartland module which includes:

  • Heartland Portico Support (for single credit card transactions)
  • Heartland PayPlan Support (for scheduled credit card transactions)

Setup

Install pavo-heartland

npm install @clevyr/pavo-heartland

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

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!)

  • porticoUrl: The url to the Portico API.
  • payPlanUrl: The url to the PayPlan API.
  • developerId: The Heartland Developer ID (Given by Heartland).
  • secretApiKey: The Heartland Secret API Key (Given by Heartland).
  • siteTrace: The Heartland site trace (I don't know what this is...).
  • version: The Pavo Version ID for Heartland (Given by Heartland).

Usage

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

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago