- Go to WordPress Admin > Plugins > Add New Plugin from the left-hand menu
- In the search box type Wafi Payment for WooCommerce
- Click on Install now when you see Wafi Payment for WooCommerce to install the plugin
- After installation, activate the plugin.
Setup and Configuration
- Go to WooCommerce > Settings and click on the Payments tab
- You'll see Wafi listed along with your other payment methods. Click Set Up
- You will see a form like input boxes on the next screen, Provide the information. Below is what each of them is for.
- Enable/Disable - Check this checkbox to Enable Wafi as a payment method on your store.
- Logging - Check this checkbox to enable logging to trace and resolve any transaction issues or for general troubleshooting. It’s especially useful to enable it when encountering unexpected issues, and sharing these logs can aid the support team in addressing your queries more effectively. If everything operates smoothly, you may disable logging.
- Test Mode - Check this to enable test mode. When selected, this enables you to perform test transaction. Notice also the API Key field changes from "Live" to "Test" as your test API Key not Live API Key is required in this case.
- API Key - This is an input field where you can paste/type in your API Key which is found on your Wafi Client dashboard. This can be Live API Key or Test API Key dpending on the whether test mode was activated on the step above or not.
- Client ID - This is an input field where you provide us with your Client ID, which is also available on your Wafi Client dashboard.
- Client Name - Type in your business name here.
- Click on Save Changes to update the settings.
Wafi uses webhook to communicate events with and from Wafi.
This is especially useful to avoid situations where a bad network makes it impossible to verify transactions.
If you do not find Wafi on the Payment method options, please go through the settings again and ensure that:
- You have set your store to accept payment in USD, as Wafi only processes USD payments
- You've checked the "Enable/Disable" checkbox
- You've entered your API Key in the appropriate field
- You've clicked on Save Changes during setup