> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Connect with Touch 'N Go eWallet

## In this article:

1. [Introduction](#1-1-introduction)
2. [Generate keys pair on computer](#1-2-generate-key-pair-on-computer)
3. [Submit application to TNG](#1-3-submit-application-to-tng)
4. [Getting approved and Configure TNG Merchant Portal](#1-4-getting-approved-and-configure-tng-merchant-portal)
5. [Connect TNG eWallet in EasyStore](#1-5-connect-tng-ewallet-in-easystore)

# 1. Introduction

What is the difference between between Touch 'N Go eWallet and [TNG Manual QR](https://support.easystore.co/en/article/connect-with-touch-n-go-pay-1amenq2/) in EasyStore?

- Touch 'N Go eWallet is a **payment gateway**
- TNG Manual QR is a **manual payment method**

Refer [this guide](https://support.easystore.co/en/article/difference-of-manual-payment-method-and-payment-gateway-f6gxrt/) for comparison between payment gateway and manual payment method.

# 2. Generate keys pair on computer

2.1 Before you begin, you need a computer with a command-line tool to generate private and public keys that required by TNG.

| Operating System | Command-line tool | How to open? |
| ---- | ---- | ---- |
| Mac | Terminal (pre-installed) | Press `Command + Space` to open Spotlight and search for "Terminal" |
| Windows | Download and install Git Bash | Click the Start (Windows) button on the taskbar and search for "Git Bash" |

2.2 Run the command below to generate **private key** in **.pk8** file format. Save the generated key file in your computer.

```html
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out
  merchant-key-production.pk8
```

2.3 Run the command below to generate **public key** in **.pem** file format. Save the generated key file in your computer.

```html
openssl pkey -in merchant-key-production.pk8 -pubout -out
  merchant-public-key-production.pem
```

# 3. Submit application to TNG

3.1 Fill up and submit the application form to TNG using the link below:

[https://TNGdigitalbizhelp.zendesk.com/hc/en-my/requests/new?ticket_form_id=59240529886361](https://tngdigitalbizhelp.zendesk.com/hc/en-my/requests/new?ticket_form_id=59240529886361)

|| 📌 Important: Make sure to upload the .pem public key file generated in step 2.3 above.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_181ec3q.png =800x365)

# 4. Getting approved and Configure TNG Merchant Portal

4.1 Once your application has been approved, you will receive the following details from TNG:

- Merchant Portal login
- TNG Merchant ID
- TNG Client ID and Client Secret
- Product Code

4.2 Using the details above, log in to your [TNG Merchant Portal](https://easystore.tngdigital.com.my/merchant/login).

4.3 Go to Settings and select **Production** under environment.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_1dxi1dj.png =800x487)

4.4 Enter the following details that you have received from TNG in step 4.1 above.

- Merchant ID
- Client ID
- Client Secret
- Product Code

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_189mv2u.png =800x487)

4.5 Upload the publick key **.pk8** file generated in step 2.2 above under **Merchant Key File**.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_181avpf.png =800x487)

4.6 Enter your account password and click **Save Settings**.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_1bl926z.png =800x487)

# 5. Connect TNG eWallet in EasyStore

5.1 Log in to your [EasyStore Admin Panel](https://admin.easystore.co/settings/gateway/touch-n-go-ewallet) > Settings > Payment > search for and select **Touch 'N Go eWallet**.

|| 📌 Reminder: Not to be confused with TNG Manual QR.


![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_11w5ewg.png =800x365)

5.2 Enter the **Merchant ID** and **Client Secret** that received from TNG in step 4.1 above.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_16tvqnz.png =800x450)

5.3 You can also tick to **set transaction charges** (customer paid to you, optional).

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_ddpcjq.png =800x365)

5.4 Make sure Touch 'N Go eWallet **is enabled** > click **Save** to complete the setup.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_1ynq598.png =800x295)