Getting started: PrestaShop

Learn how to get started with your business using PrestaShop!

A. Important Notes

1. Please take note that this tutorial is for:

  • Merchants with PrestaShop site.

Before you proceed with the tutorial, please take note of the steps that you will need to complete for the integration:

  • Read more about PrestaShop here.
  • Install the site.
  • Get your Merchant ID & Secret Key for the integration from senangPay.
  • Insert your Merchant ID & Secret Key in PrestaShop.
  • Finally, test your shopping cart.

B. Download the senangPay plugin

  1. Please download the plugin from GitHub.

C. PrestaShop configuration

  1. Download module: refer to B. above
  2. Open the archive and rename the folder inside to senangPay.
  3. Upload and install to PrestaShop.
  4. Configure your Environment, Merchant ID & Secret Key.
  5. Go to Payment > Preferences and set senangPay currency restrictions to Malaysian Ringgit (MYR).

D. senangPay configuration

  1. Log in to your senangPay dashboard.
  2. Go to Settings > Profile, scroll down to the Shopping Cart Integration Link section.
  3. Fill up Return URL with [your shop URL]/module/senangpay/return. Eg:
    https://www.myprestashop/module/senangpay/return
  4. Fill up the Callback URL with [your shop URL]/module/senangpay/return. Eg:
    https://www.myprestashop/module/senangpay/return
  5. Make sure you choose SHA256 for the Hash Type Preference
  6. Save and done.

E. Testing your integration

Now, this is the last part. You need to test whether your integration is working or not.

1. Go to your Online Cart page.

2. Select any product and add it to the cart.

3. Then, proceed to Checkout.

4. You should see that the payment option to pay with senangPay is visible.

5. Congratulations, your Online Business is now on another triumph level!