Skip to main content

Steps to Integrate

How to Integrate

  1. Go to your WordPress dashboard and go to Plugins tab and click on “Add New”.
  2. Type “WooCommerce - Xendit” on the search bar.
  3. Install the plugin.
  4. Go to “Installed Plugins”.
  5. Activate WooCommerce - Xendit plugin and click on Settings.
  6. Click on the “Connect to Xendit” button.
  7. Click on the “Allow” button. Make sure that you’ve already logged on your Xendit dashboard.
  8. Go back to your WooCommerce settings, click on the link to find your public & secret API key from Xendit dashboard*.
  9. Copy the public API key & secret API key.
  • Permissions for Secret API Key:
    • Money in: Write
    • Money out: None
    • xenPlatform: None
    • xenShield: None
  1. Paste it in your WooCommerce settings.
  2. Click “Save Changes”.

Note:

  • You need admin/developer access on your Xendit account to connect with Xendit using the Connect button (step 6).
  • If you fail connecting with Xendit (step 6-7), please proceed to integrate with API key instead (step 8).
  • To process real transactions, please untick “Enable Test Environment”.
    • Go to your Xendit dashboard, in Live mode, and copy the “Public API Key” & "Secret API Key". Paste it on “Xendit Public API Key [Live Mode]” & "Xendit Secret API Key [Live Mode]" field in WooCommerce.
  • To process test transactions, please tick “Enable Test Environment”.
    • Go to your Xendit dashboard, in Test mode, and copy the “Public API Key” & "Secret API Key". Paste it on “Xendit Public API Key [Test Mode]” & "Xendit Secret API Key [Test Mode]" field in WooCommerce.
  • You don't have to set up your callback URL in Xendit dashboard. Our WooCommerce plugin has already handled it for you.

How to Disconnect

Zoom picture here

  1. Go to your WooCommerce dashboard and click on “WooCommerce”.
  2. Click on “Settings”.
  3. Click on “Payments”.
  4. Click the “Disconnect” button.
  5. Click on the “Disconnect” button if you wish to disconnect with Xendit.

Note:

  • Disconnecting WooCommerce and Xendit can only be done by Administrator and Shop Manager.

Optional: Firewall Whitelisting

If you happen to use firewall, there's an optional step, which is to whitelist Xendit Callback URLs in order to avoid unreceived callback:

  • WooCommerce: <merchant_site>/?wc-api=wc_xendit_callback&xendit_mode=xendit_invoice_callback
  • WooCommerce CC: <merchant_site>/?wc-api=wc_xendit_callback&xendit_mode=xendit_cc_callback

You can input these URLs when creating firewall rules. Example below is the display if you're using Cloudflare:

Was this page helpful?