An example on how to integrate CyberSource's Checkout API (formerly known as Silent Order POST) to a Node.js web application.
- Node.js 10+
- A CyberSource Business Center account.
- Create a new Secure Acceptance profile.
- Generate a set of security keys for the profile.
- Set the following environment variables
Note: Check out CyberSource's documentation for a description of this variables and where to get their values.
CYBERSOURCE_CHECKOUT_API_ACCESS_KEY= CYBERSOURCE_ORG_ID= CYBERSOURCE_CHECKOUT_API_PROFILE_ID= CYBERSOURCE_CHECKOUT_API_SECRET_KEY= CYBERSOURCE_CUSTOMER_RESPONSE_ENDPOINT=
npm install
(oryarn install
)npm start
or (yarn start
)