# Masterpass via Craftgate POS

## <mark style="color:red;">**POS Installation**</mark>

### <mark style="color:red;">**Preliminary Works**</mark>

The following information is requested from the provider for the brand-specific and production (live) environment.

* **Secret Key**
* **Api Key**
* **Callback Key**
* **URL**
* **Partner Secret Key (Optional)**
* **Partner API Key (Optional)**
* **Masterpass ClientID (Optional)**

## <mark style="color:red;">**Omnitron Settings**</mark>

This payment method’s configuration can be done on the **Payment Options & Add/Edit POS Integration** pages. After the settings are completed, it will be accessible via defined bin numbers on the credit card tab at the checkout. For additional information, refer to the [POS Integrations](https://app.gitbook.com/s/IbwGN7KwvYi0iLbjtnXz/omnitron/sales-channels/payment-management/how-to-manage-pos-integrations-in-omnitron) tutorial.

### <mark style="color:red;">**Payment Options**</mark>

One payment option must be defined in Omnitron to be specific for the extension installed. Explanations on how the settings should be made at this stage are in the table below.

| Field               | Description                      |
| ------------------- | -------------------------------- |
| Payment Option      | Masterpass Rest                  |
| Payment Option Name | Masterpass Rest                  |
| Payment Option Slug | mp\_rest\_po                     |
| Config              | { “pos\_slug”: “mp\_craftgate” } |

### <mark style="color:red;">**POS Integration**</mark>

One POS integration must be defined in Omnitron to be specific for the extension installed. Explanations on how the settings should be made at this stage are in the table below.

| Field                   | Description                                                                                                        |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------ |
| Name                    | Masterpass via Craftgate                                                                                           |
| Slug                    | mp\_craftgate                                                                                                      |
| Gateway                 | Craftgate Masterpass                                                                                               |
| Resource URL            | Requested URL from the provider. Test URL: <https://sandbox-api.craftgate.io> Prod URL: <https://api.craftgate.io> |
| 3D Resource Url         | Requested URL from the provider Test URL: <https://sandbox-api.craftgate.io> Prod URL: <https://api.craftgate.io>  |
| Secret Key              | Requested Secret Key from the provider                                                                             |
| Api Key                 | Requested Api Key from the provider                                                                                |
| Callback Key            | Requested Callback Key from the provider                                                                           |
| Partner Secret Key      | Requested Partner Secret Key from the provider                                                                     |
| Partner API Key         | Requested Partner API Key from the provider                                                                        |
| Masterpass ClientID     | Requested ClientID from the Masterpass                                                                             |
| Merchant Type           | Macro Merchant ID / Custom                                                                                         |
| Three D Enabled         | True/False                                                                                                         |
| Hash Validation Enabled | True/False Defines if 3d return hash validation will be made                                                       |
