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.
- Make sure that you already have WooCommerce plugin installed and activated.
- From your WordPress admin dashboard, go to menu ‘Plugins’ and ‘Add New’.
- Key in ‘senangPay’ in the ‘Search Plugins’ field and press enter.
- It will display the plugin and press intall.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- 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 https://app.senangpay.my.
- 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.
- 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).
- Make sure the ‘Enable this payment gateway’ is ticked. Click on ‘Save changes’ button.
- 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).
Please open a ticket by log in to senangPay Dashboard and look for menu support.
- 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.