senangPay

senangPay
senangPay payment gateway plugin for OpenCart. 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.

For OpenCart 3.0 and 2.3 only

If this is your first time installing the extension, please start at Step 3. If you have previously downloaded the extension for OpenCart 2.3.x dated 14th April 2017 and before that, please follow Step 1 and Step 2 first to remove the previous version.

*This method requires you to upload manually each file to each respective folder accordingly

    1) Uninstall the SenangPay extension from your OpenCart admin section if you already have it installed.

    2) Removed all the files that have been uploaded related to the previous version of our extension. Below is the list of files from our previous extensions. You may remove the folder these files contained in if there is no other files exists within those folders.
      Previous File List of SenangPay OpenCart 2.3.x Extension
      admin/controller/payment/senangpay.php
      admin/language/english/payment/senangpay.php
      admin/view/template/payment/senangpay.tpl
      catalog/controller/payment/senangpay.php
      catalog/language/english/payment/senangpay.php
      catalog/model/payment/senangpay.php
      catalog/view/theme/default/template/payment/senangpay.tpl
      catalog/view/theme/default/template/payment/senangpay_failed.tpl

    3) Download and extract the extension. There should be 2 folders, ‘admin’ and ‘catalog’.

    4) Please copy both folders admin and catalog in the upload directory into your OpenCart directory.

    5) Take note that the plugin default files are for language en-gb and the default template. If you are using different language and template then please copy the files to the appropriate language and template directory.

    6) In OpenCart administration go to Extensions and from the dropdown of extension categories, please choose ‘Payments’.

    7) Install the senangPay extension.

    8) Edit senangPay extension. Key in:
      * Your merchant ID - (can be obtained from your senangPay Profile page)
      * Your secret key - (can be obtained from your senangPay Profile page)
      * The order status after successful payment (usually ‘Processed’)
      * Sort order - the number for the order of payment method (can be left blank)
      * Status to enable

    For OpenCart 3.0.x Extension v0.1.1, there is an additional fields that should be filled in:
      *Hash Type- (can be obtained from your senangPay Profile page)
      *Environment Mode - (depends on what environment you want to use : Sandbox / Live)

    9) Press save. The notice 'You have successfully modified senangPay setting.’ should be displayed.

    10) In senangPay Dashboard, key in your return URL as http://yourwebstore.com/?route=extension/payment/senangpay/callback&

    11) Set the callback URL as http://yourwebstore.com/?route=extension/payment/senangpay/callback_response&

    12) For callback response choose 'Ignore the response'.

    13) All set and ready


For OpenCart 2.0 to 2.2 only

    1. Make sure that you have OpenCart version 2.0 until 2.2.

    2. Please copy both folders admin and catalog in the upload directory into your OpenCart directory.

    3. In OpenCart administration go to Extensions > Payments.

    4. Enable senangPay extension.

    5. Edit senangPay extension. Key in your merchant ID, secret key, the order status after successful payment and set the status to enable. Press save.

    6. In senangPay Dashboard, key in your return URL as http://yourwebstore.com/?route=payment/senangpay/callback&

    7.Leave the callback and return URL parameters empty.


If you are getting error such as below.

Notice: Error: Could not load template /home/xxxxx/public_html/xxxxx/catalog/view/theme/xxxxx/payment/senangpay.tpl! in /home/xxxxx/public_html/xxxxx/system/storage/modification/system/engine/loader.php on line 86

Please create a directory called 'payment' in location catalog/view/theme/your_theme and copy files senangpay.tpl and senangpay_failed.tpl to the directory.




Download
  • Developed by OpenCart Community
  • Documentation Included

Rating

Compatibility
3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 2.2.0.0, 2.3.0.0, 2.3.0.1, 2.3.0.2

Last Update
13 Jan 2021

Created
4 Apr 2016
1766 Downloads
19 Comments
senangpay
senangpay
Member since: 9 Mar 2016

View all extensions Get Support