Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@paystack/checkout-js

Package Overview
Dependencies
Maintainers
5
Versions
457
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paystack/checkout-js

Client-side JS library for billing on Paystack

  • 0.20.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
226
decreased by-28.03%
Maintainers
5
Weekly downloads
 
Created
Source

Checkout JS

This is the client-side JS library for billing customers with Paystack. It makes it easy to create custom, secure payment experiences for merchant apps and websites. Checkout JS handles payment data encryption and transmission, this allows merchants to collect sensitive information such as credit card information without violating compliance.

It is used in Checkout, Paystack's proprietary checkout form.

Installation

Clone this repository

git clone git@github.com:PaystackHQ/checkout-js.git

Install dependencies with:

npm install

Development

The source code can be found in the src/ folder.

Testing

Testing is done with Jest. To test your changes, run

npm test

Build

Checkout JS is built with Rollup. To build, run the command

npm run build

You can also specify an environment to build for: dev, staging, or production. Configuration variables are set in src/config.js.

Deployment

Checkout JS is deployed to three environments:

  • Staging: https://js-studio.paystack.co/v1/checkout.js
  • Production: https://js.paystack.co/v1/checkout.js
  • npm: @paystack/checkout-js

Continuous Integration is set up with Circle CI, and any push to master branch will attempt to update the npm module @paystack/checkout-js.

Automated deployment is done with Deploybot. We generate the build files dist/checkout.js for every push to master or dev. Pushes to the dev branch will deploy to the staging environment while master deploys to the production environment

Keywords

FAQs

Package last updated on 07 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc