This topic explains how to configure TouchNet as a third party payment provider in StoreConnect. 

## What you need

-   [TouchNet](https://www.touchnet.com/merchant-services/payment-processing) Institution account 
-   Minimal code and admin know-how

## Get credentials from TouchNet

TouchNet provides credentials that you can use in the **API key** and **API secret** fields in the StoreConnect config.

They also provide additional options for testing payments in a sandbox.

## Configure TouchNet in StoreConnect 

1.  Open StoreConnect and go to **Settings > Payments > Payment providers**.
2.  Select **New**. Complete the fields as follows, then **Save**:

| StoreConnect field             | Select or enter                                                           |
|--------------------------------|---------------------------------------------------------------------------|
| Name                           | TouchNet                                                                  |
| Provider                       | Select TouchNet from the list                                             |
| API Mode                       | production or sandbox                                                     |
| API Key                        | Key supplied by TouchNet                                                  |
| API Secret                     | Secret supplied by TouchNet                                               |
| API Options to enable payments | See below. Use the relevant set of API options for production or sandbox. |

## Credentials for API Options

Insert the relevant API options using the code below, and:

- Replace {InstitutionCode} with your specific Institution code, e.g. C30002
- Replace {SiteId} with your site ID, e.g. 338

**Production API Options**

-   tlink\_url: [https://secure.touchnet.net:8703/](https://secure.touchnet.net:8703/){InstitutionCode}\_tlink/services/TPGSecureLink
-   upay\_url: [https://secure.touchnet.net:8443/](https://secure.touchnet.net:8443/){InstitutionCode}\_upay/web/index.jsp
-   upay\_site\_id: {SiteId}

**Sandbox API Options**

-   tlink\_url: [https://test.secure.touchnet.net:8703/](https://test.secure.touchnet.net:8703/){InstitutionCode}test\_tlink/services/TPGSecureLink
-   upay\_url: [https://test.secure.touchnet.net:8443/](https://test.secure.touchnet.net:8443/){InstitutionCode}test\_upay/web/index.jsp
-   upay\_site\_id: {SiteId}