Thawani: WooCommerce (WordPress) plugin

This article is to show how to install our WooCommerce plugin for Thawani Gateway. First you will need to download the plugin file (Downloads and Licenses) . From WordPress Admin, go to Plugins -> Add New and click Upload Plugin button:


From the form, you can select the downloaded file and click Install Now button. After Installation you can activate and configure the plugin. You can find configuration page from two places:

  1. WooCommerce -> Settings -> Payments
  2. Plugins -> Installed Plugins -> Settings:

In plugin settings, you can add your API keys (Thawani: Getting API Keys):


Currency exchange at checkout:

This step is only in case you have a different currency than Omani Rial.

To exchange currency at checkout, you will need to use "thawani_convert_to_omr". Here is an example to exchange from USD to OMR:

	$exchangeRate = 0.3953;
    return $amount * $exchangeRate;

Note: you can use Code Snippets plugin to add the code to your WordPress.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Thawani: General PHP Class

This class is for developers who want to integrate with Thawani Gateway. To get started, you...

Downloads and Licenses

In this article, will show how to use the licenses and download purchased plugins. After a...

Thawani: Getting API Keys

Using your login credentials in Thawani Merchant portal, you will need to go to: Developers ->...

Thawani: OpenCart Extension

This article is to show how to install our OpenCart extension for Thawani Gateway. First you will...

Thawani: PMPRO (WordPress) Plugin

This article is to show how to install our WordPress Membership Plugin and Subscriptions Platform...