WooCommerce

Getting Started

This plugin is a Wordpress plugin designed specifically to support Omise Payment Gateway in WooCommerce.

Requirements & Dependencies

The plugin was built and tested with Wordpress 4.0.1+ and WooCommerce 2.2.8. The dependencies are jQuery and Omise.js library. You will also need an Omise account.

Installation

Get our Omise-WooCommerce plugin that is available on github. (Note that the plugin hasn't yet been added to the Wordpress plugin directory).

After getting the source code, either download as a zip or git clone and put it in the Wordpress plugins folder (i.e. mv omise-woocommerce <wordpress installed path>/wp-content/plugins/ or upload a zip via Wordpress admin Plugins section, just like other Wordpress plugins).

The plugin should now appear on your Wordpress admin page under the Plugins menu.

From the admin page:

  • Activate the plugin
  • Go to WooCommerce > Settings
  • Select the Checkout tab on top.
  • Select Omise payment gateway at the bottom of the page, under Payment Gateways.
  • Optionally, if you'd like to have Omise set as the default payment gateway, you can check Default.
  • Click the Settings button and adjust the options as follow:
Setting Description
Enable/Disable Enables or disables 'Omise Payment Module'
Sandbox If selected, all transactions will be performed in TEST mode and TEST keys will be used
Title Title of Omise Payment gateway shown at checkout
Description Description of Omise Payment Gateway shown at checkout
Private key for test Your TEST secret key. It can be found in your Dashboard.
Public key for test Your TEST public key. It can be found in your Dashboard.
Private key for live Your LIVE secret key. It can be found in your Dashboard.
Public key for live Your LIVE public key. It can be found in your Dashboard.

After setting up the above options, click Save changes.

Checking out

Check out

Your customers can select Omise payment gateway from the checkout page. Note that the card name, number, expiry date and security code are required. Upon clicking Place Order, a card token will be generated and used to create a charge in your Omise account.

The logged in user can save their card if required. The plugin will then create a Customer associated to your WooCommerce account.

For returning customers with multiple cards saved, the preferred card can be selected upon checkout.

Managing cards

Each WooCommerce user with saved cards can delete or add a new card under My Account anytime.

Fund transfers

Fund transfers

The total and available balance can be viewed under the Omise menu in the admin dashboard. From here, you can request a transfer to your default bank account right away.

The following requirements must be met for a transfer to be created:

  1. There must be at least 30 THB in your available balance
  2. There must not be pending transfer requests

You have the choice between doing a full transfer or a partial transfer. The funds will be available in your bank account within the next business day provided that the request is initiated before 10 A.M.