> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Services

> Process Card, Apple Pay, and Google Pay payments through Transaction Services.

Transaction Services is a US-based payment processor offering credit and debit card, digital wallet, and EBT processing for businesses across the United States. Connect Transaction Services to Primer to process Card, Apple Pay, and Google Pay payments and route them using Workflows.

## At a glance

### Supported payment methods

| Payment method | Payment method type | Integration guide |
| - | - | - |
| Card | `PAYMENT_CARD` | [Card](https://primer.io/docs/connections/payment-methods/card/overview.md) |
| Apple Pay | `APPLE_PAY` | [Apple Pay](https://primer.io/docs/connections/payment-methods/apple-pay/overview.md) |
| Google Pay | `GOOGLE_PAY` | [Google Pay](https://primer.io/docs/connections/payment-methods/google-pay/overview.md) |

Transaction Services uses Primer's standard card form and Primer's native Apple Pay and Google Pay integrations, so no Transaction Services-specific SDK code is required.

### Supported capabilities

| Capability | Card | Apple Pay | Google Pay |
| - | - | - | - |
| Authorization | Yes | Yes | Yes |
| Authorization adjustment | No | No | No |
| Partial capture | No | No | No |
| Refund | Yes | Yes | Yes |
| Partial refund | Yes | Yes | Yes |
| Recurring and merchant-initiated payments | Yes | Yes | Yes |
| Cancel / Void | Yes | Yes | Yes |
| Network tokens | Yes | Yes | Not applicable |

### 3D Secure

Primer performs 3D Secure authentication using the [Perform 3DS action](https://primer.io/docs/workflows/apps/native-apps/primer-payments-app/perform-3ds-action.md) and passes the result to Transaction Services. Transaction Services does not run its own 3D Secure for payments processed through Primer.

## Get started with Transaction Services

### Before you begin

If this is your first connection, make sure to follow the [Get started guide](https://primer.io/docs/get-started/overview.md) to begin processing payments with Primer.

You need a Transaction Services sandbox account for testing and a separate production account. Contact your Transaction Services administrator to provision both.

### Credentials

Your Transaction Services administrator provides your credentials on account setup.

| Field | Where to find it |
| - | - |
| **Username** | Provided by your Transaction Services administrator. Format: `{clientId}_{sourceId}`, where each identifier is a 6-digit zero-padded number (for example, `001234_567891`). |
| **Password** | Provided by your Transaction Services administrator. |

### Configure in the Dashboard

**1. Add Transaction Services to your Dashboard**

Go to [Integrations](https://dashboard.primer.io/integrations), select **New integration**, search for Transaction Services, and enter your **Username** and **Password**.

**2. Activate the payment methods on the Checkout**

Go to [Checkout](https://dashboard.primer.io/checkout) and activate the payment methods you want to offer.

**3. Route payments with Workflows**

In [Workflows](https://primer.io/docs/workflows/overview.md), select Transaction Services in the **Authorize payment** action. Add the **Perform 3DS** action before authorization for card payments.

### Prepare the client session

| Parameter | Required | Description |
| - | - | - |
| `TranAction` | Yes | Transaction type. Use `Sale` for authorization and immediate capture, or `Credit` for authorization only (pre-authorization). |

## Test in sandbox

Connect your Transaction Services sandbox account to your Primer Sandbox environment. Contact your Transaction Services administrator for sandbox credentials and test card numbers.

## Go live

Before switching to production, confirm that:

1. Your Transaction Services production account is active for Card, Apple Pay, and Google Pay.
2. You have added Transaction Services in your Primer **production** environment using your **production** credentials.
3. You handle the [PAYMENT.STATUS webhook](https://primer.io/docs/api-reference/endpoints/v2.4/payment-webhooks/payment-status-update.md) and fulfil orders only on a final status.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.