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

moneris-checkout

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moneris-checkout

Moneris checkout

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

build

Overview

Npm module for Moneris Checkout.

For developer document, please see official doc

How to Use

npm i -S moneris-checkout
import MonerisCheckout from "moneris-checkout";
import { EnvironmentType } from "moneris-checkout/types/global";

const moneris = new MonerisCheckout(
    "moneris", // Store ID
    "hurgle", // API token
    "chkt5BF66neris", // Checkout ID
    EnvironmentType.TEST // "qa" for test, "prod" for production
);


// Send a preload request
const preload = await moneris.preload(6.19);
// Receive ticket ID
const ticket = preload.response.ticket;
// After the client completes payment, send a receipt request with ticket
const receipt = await moneris.receipt(ticket);

Keywords

FAQs

Package last updated on 27 May 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