Skip to content

WooCommerce

What is WooCommerce

WooCommerce and WooCommerce Subscriptions are WordPress plugins that transform WordPress into an eCommerce platform with automated transactions management. They are hosted and run entirely by merchants in their environment of choice.

WooCommerce provides Product Management, Shopping Cart, and Checkout Features to support eCommerce functions. Xendit provides WooCommerce plugins to be integrated to show up in the checkout page. This enables any merchant with WooCommerce integration to accept end-customer payments via Xendit. To date, Xendit accepts transactions via bank transfer from major Indonesian banks, Alfamart, Credit Card, and Debit Card.


Why Integrate with WooCommerce

As the most popular eCommerce platform out there, WooCommerce provides easy-to-use features for you to develop and customize based on your needs and preferences. The WooCommerce plugin is free to use, and is one of the easiest option if you do not have your own website, or prefer not to develop and maintain a standalone web platform.

Because it is designed for WordPress, WooCommerce is connected to millions of WordPress users. It is bundled with many ways to accept payments by providing integrations with payment gateways.


Integrating with Woocommerce

alt text

Xendit Woocommerce Plugins

Xendit provides two WooCommerce plugins to be used according to your business needs:

  • The WooCommerce plugin to accept recurring payments with Credit Cards is available here.
  • The Woocommerce plugin to accept virtual accounts payments (bank transfers) is available here

Before integrating Xendit with WooCommerce, please ensure that you have completed the 4 points below:

  1. Register for a Xendit account to get Official Permission and API Keys
  2. Configure settings in WooCommerce admin dashboard alt text
  3. Check that you have these required versions:
    • WordPress: 4.8.3
    • WooCommerce: 3.1.2
    • PHP 7.0
  4. Enable cUrl with OpenSSL by your web hoster

Xendit Bank Transfers

Here steps needed for you to integrate Xendit Payment with Xendit Debit & Credit Cards plugin on WooCommerce:

  1. Install Woocommerce – Xendit Virtual Accounts
  2. Go to WooCommerce admin dashboard and open WooCommerce Setting
  3. Click on Payment tab
  4. Click manage button on Xendit - Bank Transfer
  5. Open your Xendit Dashboard in new tab and go to Settings, and then API Key or you can open this link in new tab: https://dashboard.xendit.co/dashboard/settings/security
  6. Copy Xendit Public Key on Xendit Dashboard to your WooCommerce Payment Settings
  7. Copy Xendit Secret Key on Xendit Dashboard to your WooCommerce Payment Settings
  8. Copy Xendit Validation Token on Xendit Dashboard to your WooCommerce Payment Settings
  9. Go back to Xendit Dashboard and go to Settings and then go to Configuration or you can simply click this link: https://dashboard.xendit.co/dashboard/settings/configuration
  10. Click invoice
  11. Copy Your Callback URL on Xendit bank transfer payment setting to Callback URLs in invoice settings
  12. Copy it in both development and production
  13. Click Save & Test Callback
  14. Click Save Changes on your WooCommerce Payment Settings

Xendit Debit & Credit Cards

Here steps needed for connecting Xendit VA plugin on WooCommerce to Xendit:

  1. Install WooCommerce – Xendit Cards & Subscriptions
  2. Go to WooCommerce admin dashboard and open WooCommerce Setting
  3. Click on Payment tab
  4. Click manage button on Xendit Credit & Debit Cards
  5. Open your Xendit Dashboard in new tab and go to Settings, and then API Key or you can open this link in new tab: https://dashboard.xendit.co/dashboard/settings/developer
  6. Copy Xendit Development Public Key on Xendit Dashboard to your WooCommerce Payment Settings in Test Public Key
  7. Copy Xendit Live Key on Xendit Dashboard to your WooCommerce Payment Settings in Live Public Key
  8. Copy Xendit Development Secret Key on Xendit Dashboard to your WooCommerce Payment Settings in Test Secret Key
  9. Copy Xendit Live Secret Key on Xendit Dashboard to your WooCommerce Payment Settings in Live Secret Key
  10. Click Save Changes on your WooCommerce Payment Settings

Troubleshooting

If Xendit does not appear in your checkeckout page, please check that:

  • You are using WordPress, WooCoommerce, and PHP versions that we support
  • Minimum amount of payable invoice is set to more than IDR 11000
  • Make sure that the price of your product is more than the minimum amount you have set

If you problems persists please do the following steps:

  1. Install plugin https://wordpress.org/plugins/duplicator/ from the wordpress admin dashboard
  2. Click Duplicator,
  3. Clik Create new package
  4. Download archieve and the installer
  5. Send to via email to help@xendit.co for us to conduct faster investigation

FAQ

  1. How can my customer update their card?

    The WooCommerce Subscriptions guide for a user to update their payment method can be found here

  2. Is there a way I can manually retry a failed payment after a decline?

    Yes, you can do this from the WooCommerce Dashboard, as mentioned here

  3. Is there a way for my users to retry a subscription payment after a decline?

    Yes, WooCommerce has a guide for your users to do this on your website

  4. What is the best place for me to check my payment detail on Xendit?

    You can check it at your Invoice tab in Xendit dashboard with external ID orderid_#order id in woocommerce and Credit Cards in Xendit Dashboard with external id wc_orderid_#order id in woocommerce