Preparation / Prerequisites

This section explains the preparations that are required to get started with Durian Custom Checkout integration.

  1. Create a Durianpay account

    If you haven't done it already, click here to sign up. Sign up for Durianpay account here to retrieve API keys for Sandbox environment and to test integrations end-to-end.

  2. Generate API Keys

    Retrieve Sandbox API keys that will be used in next section(s) It is okay to have only the sandbox key for now. If you have live key, you can use it too.

    Durian Dashboard API keys
  3. Initialize Durianpay on your server side, if you are using our server SDKs.

npm install dpay-node-sdk
const dpay = new Durianpay({
  secret_key: "your_secret_key", // Use your Sandbox or LIVE key