Plugin for WooCommerce

Integrating PayHere with your WooCommerce website is super easy with our PayHere Plugin for WooCommerce. You just have to download it from Wordpress Plugin Store, upload it to your server & configure it with your Merchant Account details to start accepting online payments via PayHere.

WooCommerce Settings

  1. Download the PayHere Plugin for WooCommerce directly from Here
  2. Upload the ‘woocommerce-payhere’ folder to your WordPress ‘plugins’ directory under ‘/wp-content/plugins’
  3. In your WordPress admin, go to Plugins and Activate the WooCommerce PayHere Payment Gateway plugin
  4. Go to your WooCommerce > Settings page, click on Checkout tab & click the PayHere link
  5. Tick the checkbox to Enable PayHere
  6. Enter the payment title and description or keep the default
  7. Enter your Merchant ID (It’s on the Account approval mail sent by PayHere or at Account > Business section of your PayHere Merchant Portal)
  8. Enter your Secret Key. (Must be the same value you set at PayHere Merchant portal)
  9. Do not tick the checkbox to Enable Sandbox Mode. (Tick it if you need to test your integration with a PayHere Sandbox Account.)
  10. Click Save Changes.

PayHere Settings

  1. Sign in to your PayHere account
  2. Click the Account tab and then Edit link on Business section
  3. Enter your Secret Key (Must be the same value entered in your WooCommerce admin)
  4. Do not enter a Return URL as it’ll be handled by WooCommerce
  5. Click Save Changes
Plugin for WooCommerce - PayHere Knowledge Base
Still need help? Get in touch!
Last updated on 26th Oct 2022