Woocommerce Integration Steps


Software Dependencies

  • Wordpress v3.9.2 or higher
  • WooCommerce v2.4 or higher
  • PHP v5.6.0 or higher
  • php-cURL
To use this plugin, ensure that you have the php-cURL extension installed to make the required network calls

Prerequisites

  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.

Integration steps

Step 1: Install Plugin

  1. Download the plugin zip file from our github repository.
  2. Upload the zip file in Plugins section of your wordpress account by navigation to Plugins -> Add New -> Upload Plugin -> Choose file.

Step 2: Configure WooCommerce

  1. Log into your WordPress account and activate the Durianpay plugin in the WordPress Plugin Manager.
  2. Log into your WooCommerce account, navigate to Settings and click the Checkout/Payment Gateways tab.
  3. Click Durianpay to edit the settings.
  4. Enable the Payment Method, name it Credit Card / E-Wallets / Virtual Account (This is shown on the Payment page your customer sees).
  5. Add in your <key_secret> generated from the Durianpay Dashboard.

We are ready to accept payments from customers.