Skip to content

Introduction

Sails Pay provides a payment integration layer for Sails.js applications.

It covers provider adapters, transactions, coupons, and subscription-related flows through one Sails-oriented API.

Getting started

Simply add the following dependency to your Sails project:

sh
npm i sails-pay --save

Add provider adapter

Sails Pay offers adapters for various payment providers. Simply install the adapter for your chosen payment provider.

sh
npm i @sails-pay/lemonsqueezy
sh
npm i @sails-pay/flutterwave
sh
npm i @sails-pay/paystack
sh
npm i @sails-pay/paga

TIP

If you can't find your payment provider, consider sponsoring Kelvin's time. He can work on an adapter for you.

Next, follow the instructions below to setup your preferred payment provider.

All open source projects are released under the MIT License.