1. Home
  2. Docs
  3. Integration Guide
  4. woocommerce plugin

woocommerce plugin

This plugin allows you to quickly and easily add YenePay as a payment method to your WordPress/Woocommerce site. We have setup a sandbox environment for you to test and play around the integration process.

## Prerequisites

  1. To add YenePay to your application and start collecting payments, you will first need to register on YenePay as a merchant and get your seller code. You can read more about how to register on the How to register on YenePay article.
  2. Once registered, log into your yenepay account by going to https://www.yenepay.com and clicking on Login. After logging in, you will be taken to the account manager page. From there, open up the Settings page by clicking the user avatar on the top right corner of the Account Manager page.
  3. From the Settings page take a note of two important values
    • the User Code on the Profile tab and
    • the PDT Key on the Notifications tab

You will need these values when setting up this plugin.

## Installation and setup

  1. Download the plugin from our git repository
  2. Extract the contents of the downloaded file and copy the folder “woo-yenepay”, then go to your wordpress site root folder and paste it in the “plugins” folder. This is typically located in {your-wordpress-site-folder}\wp-content\plugins.
  3. Open your wordpress site’s admin page and navigate to Plugins > Installed Plugins. Then find WooCommerce YenePay Payment Gateway and click on Activate
  4. From the admin site, go to Woocommerce > Settings and select the Checkout tab. Then click on YenePay from the list of available payment methods at the top of the page. If you don’t see it here, make sure you have activated the YenePay payment plugin as mentioned in Step 3 above.
  5. Once on the YenePay Payment Gateway settings page, fill in the YenePay Merchant Code with the value of your User Code and YenePay PDT token with your PDT Key. These values can be obtained from your Account Manager page as indicated in the pre-requisite section above.

You also have an option to use our Sandbox application to test out your integration before going live. We highly recommend using this feature when testing the integration.

Was this article helpful to you? Yes 4 No

How can we help?