---
title: Testing WooCommerce plugin (Malaysia)
slug: testing-woocommerce-plugin-malaysia
docTags: 
createdAt: 2022-04-25T08:37:21.000Z
---

## For Staging Credentials

Reach out to our Sales team and they will set you up! [https://my.latitudepay.com/sales-booking/](https://my.latitudepay.com/sales-booking/)



## Step 1: Getting the public key and private key from the merchant console



:::hint{type="info"}
**For customer & merchant credentials** Please, reach out to our Sales team and they will set you up! [https://my.latitudepay.com/sales-booking/](https://my.latitudepay.com/sales-booking/)
:::

**goto merchant console - [https://merchant.latitudepay.me/](https://merchant.latitudepay.me/)**



![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/IQRA9jXAPz2fWG1z9vGt-_image.png)



1. Please login in the merchant console using your merchant credentials.
2. Go to profile tab and create API keys
3. Copy the public key and private key to input in your Woocommerce Settings page

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/_zZ2Oj_oiyLi96N-jdHib_image.png)







## Step2: Installing WooCommerce

:::hint{type="info"}
Download LatitudePay woocommerce plugin from github - [https://github.com/octifi/woocommerce-plugin](https://github.com/octifi/woocommerce-plugin)
:::

1. Open your woocommerce admin.
2. Goto plugins page and click "Add new" and upload the downloaded plugin.

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/BkAgCUqrk_4WSkuPSsczr_image.png)

&#x20;      3\. Goto LatitudePay Payment > "settings"

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/j8fVvTr_mu2C8V996BKhC_image.png)



&#x20;   4\. Make sure you selected Ringgit as a currency

## Step3: Testing the payment flow



1. Goto your homepage or shop
2. Add some items into the cart.
3. Goto checkout and fill billings details
4. Select "LatitudePay" as a payment method.

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/2UeFrbGsWgXUlrxu2dfDo_image.png)

&#x20;    5\. Click "Place order".

&#x20;    6\. You will be redirected to "LatitudePay Payment page".&#x20;

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/sysOswSf_P_Awzjcnknx3_screen-shot-2022-10-11-at-61527-pm.png)

:::hint{type="info"}
Download malaysia customer mobile app



**Please download the latest app from [here](https://github.com/octifi/woocommerce-plugin/releases)**
:::

1. Download the android app & login with customer credentails.

&#x20;    2\. Press QR icon in the home screen and scan the QR code.

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/s8uG_CiZvPsqUzjHQuZo9_screen-shot-2022-10-12-at-30433-pm.png)



&#x20;    3\. In the app screen you can see your purchase detail and total amount

&#x20;    4\. Press "BUY NOW"

::Image[]{src="https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/Q2CuCEBLeWl3PUjB1bZ6A_screen-shot-2022-10-12-at-31145-pm.png" size="36" width="865" height="1832" position="center" showCaption="false"}



::Image[]{src="https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/XFSHgkf6Yk_uQy44F3uaG_screen-shot-2022-10-12-at-31421-pm.png" size="38" width="982" height="1590" position="center" showCaption="false"}

::Image[]{src="https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/l1UrctB5_bsQ-wVgTeMK0_screen-shot-2022-10-12-at-31530-pm.png" size="44" width="933" height="1646" position="center" showCaption="false"}

5\. Do Make payment.

::Image[]{src="https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/8_vJWrdr0kJaCC6RempUL_screen-shot-2022-10-12-at-31638-pm.png" size="44" width="933" height="1622" position="center" showCaption="false"}





&#x20;  6\. In the web you will be redirected automatically after the payment.



![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/ornahuSCfABO1jtil2UFX_image.png)



&#x20;    7\. Goto WooCommerce admin page.

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/o5_mUsCOgq494W9FPuP9m_image.png)

&#x20;  8\. If "Authorization" is enabled the "capture latitudePay payment" button will be activated

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/lcxm7keHR2bFFy5aLkgb9_image.png)

&#x20;    9\. For addional details. Please check bottom of the order detail screen.&#x20;

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/urN6eYxHkD1Xj1fdhbnBy_image.png)





# Cancellations/ Refund



Use the LatitudePay [merchant console](https://merchant.octifi.me) dashboard for canceling/partial refunding the orders

1. Goto Merchant console "[https://merchant.latitudepay.me/](https://merchant.octifi.me/)"
2. Click "order" tab

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/sDMaNhBiz8HdnA8WD1Qi0_image.png)



3\. Our case we are canceling the order (Full refund)

![](https://api.archbee.com/api/optimize/uMLzTav_HIzdTyGRmLuEG/DGBep7KxzeIwjem_NtLIc_image.png)

&#x20;  4 . Successfully canceled the order.

