New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

clover-ecomm-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clover-ecomm-sdk

Clover Node JS Ecomm SDK

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Clover Node.js Library

The Clover Node library provides convenient access to the Clover API from applications written in server-side JavaScript.

Please keep in mind that this package is for use with server-side Node that uses Clover secret keys. To maintain PCI compliance, tokenization of credit card information should always be done with [Clover.js][clover-js] on the client side. This package should not be used for that purpose.

Documentation

See the Node API docs.

Installation

Install the package with:

npm install clover-ecomm-sdk --save

or

$ yarn install

Usage

The package needs to be configured with your account's secret key which is available in your [Clover Dashboard][api-keys]. Require it with the key's value:

const clover = require('clover')('ck_test_...');

const customer = await clover.customers.create({
  email: 'customer@example.com',
});

On older versions of Node, you can use promises or callbacks instead of async/await.

Keywords

FAQs

Package last updated on 12 Mar 2020

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