Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 802 Bytes

File metadata and controls

24 lines (19 loc) · 802 Bytes

CyberSource Checkout API Node.js Example

An example on how to integrate CyberSource's Checkout API (formerly known as Silent Order POST) to a Node.js web application.

Requirements

  • Node.js 10+
  • A CyberSource Business Center account.

Getting started

  1. Create a new Secure Acceptance profile.
  2. Generate a set of security keys for the profile.
  3. Set the following environment variables
    CYBERSOURCE_CHECKOUT_API_ACCESS_KEY=
    CYBERSOURCE_ORG_ID=
    CYBERSOURCE_CHECKOUT_API_PROFILE_ID=
    CYBERSOURCE_CHECKOUT_API_SECRET_KEY=
    CYBERSOURCE_CUSTOMER_RESPONSE_ENDPOINT=
    Note: Check out CyberSource's documentation for a description of this variables and where to get their values.
  4. npm install (or yarn install)
  5. npm start or (yarn start)