top of page

API / WordPress Plug-in

Know how to integrate your website with payment gateway MalakatPay

api.png

Firstly, Visit our MalakatPay website (https://www.malakatpay.com) and download the MalakatPay Plugin from the integration menu.

Screenshot 2024-01-03 at 9.55.29 AM.png

Next, log in to your WordPress website, open the plugin tab, and upload the MalakatPay plugin file. After that, activate the MalakatPay plugin

Navigate to WooCommerce >> settings >> payments >> Malakat Pay and click “Manage”.

For production purposes, use this link in the service URL: https://console-api.malakatpay.com/api

​

For sandbox/staging purposes, please use this link instead: https://stg-console-api.malakatpay.com/api

​

Please bear in mind that the account in MalakatPay’s production can’t be used for MalakatPay’s sandbox/staging and vice versa. You can register here.

​

Insert MalakatPay’s service URL according to your intended purpose, your API Access token, API Signature Key and Collection ID then click “Save changes”.

In the Malakat Pay website, Take your API Access token and API Signature Key in the organization setup tab (API).

For the Webhook and Redirect URL, change the highlighted URL with your website domain name.

​

Webhook URL is using the POST method, to notify the user about the transaction.

​

Redirect URL is using the GET method, to redirect the user to the FPX page.

On the Malakat Pay website, Take your Collection ID code in Collections & Bills.

bottom of page