This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



senangPay payment gateway plugin for WooCommerce. This plugin enable online payment using credit or debit cards (Visa and Mastercard only) and online banking (for Malaysian banks only). Currently senangPay is only available for businesses that reside in Malaysia.


  1. Make sure that you already have WooCommerce plugin installed and activated.
  2. From your WordPress admin dashboard, go to menu ‘Plugins’ and ‘Add New’.
  3. Key in ‘senangPay’ in the ‘Search Plugins’ field and press enter.
  4. It will display the plugin and press intall.
  5. Activate the plugin through the ‘Plugins’ screen in WordPress.
  6. Go to menu WooCommerce, settings, Checkout, senangPay and fill in your merchant id and secret key. You can retrieve the merchant id and secret key from senangPay Dashboard at
  7. By default the hash type will be md5, but you may change it later to sha256 which is strongly recommended by senangPay.You may refer to the hash type defined in senangPay dashboard.
  8. The environment mode by default is live. However if your website is not ready for production but for testing, you may choose sandbox (This required you to have sandbox account).
  9. Make sure the ‘Enable this payment gateway’ is ticked. Click on ‘Save changes’ button.
  10. In senangPay Dashboard make sure you key in your return URL and callback URL as http://your_domain/checkout/ and choose ‘Read response and send email if error’ for callback response, finally press Save. Please leave the ‘Return URL Parameters’ field empty.


Do I need to sign up with senangPay in order to use this plugin?

Yes, we require info such as merchant id and secret key that is only available after you sign up with senangPay.

Can I use this plugin without using WooCommerce?


What currency does it support?

Currently senangPay only support Malaysian Ringgit (RM).

What if I have some other question related to senangPay?

Please open a ticket by log in to senangPay Dashboard and look for menu support.


Jun 19, 2022
I have been using SenangPay for years but time to say goodbye. The main reason is too many problem like payment reported as pending payment at website even though it was successful at SenangPay.
Mee 21, 2020
Great plugin if you want to support FPX and Credit Cards for Malaysian consumers. Good support team who are responsive, and they keep the plugin pretty up to date when new releases of WP come out.
Read all 3 reviews

Contributors & Developers

“senangpay” is open source software. The following people have contributed to this plugin.


Translate “senangpay” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • update supported version
  • supports WordPress 5.8.1
  • supports Woocommerce 5.6.0


  • supports WordPress 5.5
  • supports Woocommerce 4.4.1


  • update installation steps in README


  • fix issue with hash_type not properly initialized


  • fix issue with environment_mode not properly initialized
  • supports wordpress 5.4.1


  • set default value of Environment Mode to Live


  • update version tagging and README


  • supports SHA256 hash_hmac encryption
  • to use SHA256 encryption, merchant must set the same hash type in senangPay dashboard
  • added mode for Sandbox or Live


  • update README


  • fix versioning


  • fix issue with plugin not initialized properly
  • supports WordPress 4.9.x
  • supports Woocommerce 3.3.x


  • Fix issue with orders with the same number


  • Fix issue with failed payments


  • initial version for Woocommerce 3.x full compatibility
  • remove usage of WC deprecated functions
  • wp_redirect doesn’t always redirect. Add exit() to ensure redirection
  • added proper callback response


  • Send billing name, email and phone to senangPay so that customer does not have to re-enter at senangPay payment form


  • Solve the issue where multiple emails were sent to both buyer and seller after payment is complete.
  • Upon successful payment customer will see order complete page.