@felloh-org/payment-sdk

1.0.19 • Public • Published

Felloh Payment SDK

Version Build Status Downloads Try on RunKit

Installation

Use npm to install the Felloh Payment SDK module:

npm install @felloh-org/payment-sdk

Alternatively you can use yarn,

yarn add @felloh-org/payment-sdk

Usage

To instantiate the SDK, you need to pass the container ID that it will be rendered in and your public key.

import SDK from '@felloh-org/payment-sdk';

const publicKey = '1F78BD638B945AED49F4ADAF79CDA';
const felloh = new SDK('payment-iframe', publicKey);

We’ve placed a random API key in this example. Replace it with your actual publishable API keys to test this code through your Felloh account.

For more information on how to use the Felloh SDK, please refer to the Felloh API Documentation or learn to Embed a payment with Felloh.

SDK Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @felloh-org/payment-sdk

Weekly Downloads

1

Version

1.0.19

License

MIT

Unpacked Size

17.3 kB

Total Files

11

Last publish

Collaborators

  • adamclark-dev