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

# Stripe

[Stripe](https://stripe.com) is a payment gateway integration. Once connected, Zenskar syncs customer records with Stripe, generates payment links and Stripe Checkout sessions for invoices, charges invoices against a customer's saved payment method, and reconciles ACH credit transfers.

## Connect Stripe

### Prerequisites

* A [Stripe](https://dashboard.stripe.com/login) account.

> [!WARNING]
>
> **Managed Payments:** Zenskar uses Stripe Connect, which is not compatible with Managed Payments. If Managed Payments is enabled on your Stripe account, [read Stripe's Managed Payments guide](https://docs.stripe.com/payments/managed-payments/set-up) and disable it before you connect.
>
> **Duplicate connections:** Each Stripe account can only be connected once. If you try to connect a Stripe account that is already connected to Zenskar, whether under this entity or another one, Zenskar blocks the connection.
>
> **Recommendations:**
>
> * Connect a Stripe account whose mode, test or live, matches the environment being configured: a test-mode Stripe account for sandbox, a live-mode Stripe account for production.
> * Do not connect a Stripe account that already has another platform, such as Xero, connected to it.
>
> If either recommendation does not fit your use case, contact [help@zenskar.com](mailto:help@zenskar.com) before proceeding.

### Steps

1. Go to **More > Integrations > Payment Gateways**, find the **Stripe** card, and click **Connect**.

   ![Payment Gateways category on the Integrations page, Stripe card with the Connect button](https://assets.zenskar.com/20260301/payment-gateways-stripe-integrations-card.png)

2. On the Stripe page, click **Connect to Stripe**.

   ![Stripe overview page in Zenskar, with the Connect to Stripe button](https://assets.zenskar.com/20260301/payment-gateways-stripe-connector-overview.png)

3. In the confirmation dialog, click **Connect**.

   ![Connect confirmation dialog in Zenskar, showing the Managed Payments warning and the Connect button](https://assets.zenskar.com/20260301/payment-gateways-stripe-connect-confirmation.png)

Zenskar returns you to the **Configuration** screen.

## Configure the connection

1. Under **Select Zenskar Entity**, select the entity this connection belongs to. This is required. **Save Configuration** stays disabled until you select one, and you cannot change it after saving.
2. Enable the **Customers** module to sync customer data between Stripe and Zenskar, and choose a **Sync Direction**:

   | Sync direction | What it does |
   | :- | :- |
   | **Import only** | Updates existing Zenskar customers with changes from Stripe. Does not create new customers in Zenskar. |
   | **Export only** | Creates new Stripe customers from Zenskar customers, and updates existing ones. |
   | **Import & Export** | Combines both directions. New customers created in Zenskar are pushed to Stripe, and updates to existing customers sync in both directions. |
3. Click **Save Configuration**.

   ![Configuration screen with Select Zenskar Entity set, Customers module on, Sync Direction set to Import & Export, and Save Configuration](https://assets.zenskar.com/20260301/payment-gateways-stripe-configuration-screen.png)

   Once saved, the connection shows as **Configured** on the Stripe **Connections** tab.

   ![Stripe Connections tab showing the Account ID, Connected Entity, and Configured status](https://assets.zenskar.com/20260301/payment-gateways-stripe-connection-configured.png)

> [!NOTE]
>
> * **Export** and **Import & Export** push a customer to Stripe only when it is first created in Zenskar. If a customer already existed before Stripe was connected, or before Export was turned on, editing and saving it does not push it to Stripe.
> * **Import** direction only updates customers that already exist on both platforms; it never creates new Zenskar customers. To bring in existing Stripe customers for the first time, use Zenskar's bulk customer CSV import: include each customer's Stripe customer ID in a `reference_id` column to link them, and optionally import their payment methods and invoice numbering from Stripe in the same upload.

## Configure payment settings

These settings apply to every Stripe Checkout session across Zenskar. They are not configured per connection. Go to **Settings > Payment**.

![Settings > Payment page, with the Payment Settings and Checkout Redirect URLs cards](https://assets.zenskar.com/20260301/payment-gateways-stripe-settings-payment.png)

Under **Payment Settings**:

| Setting | What it does |
| :- | :- |
| **Available Payment Methods** | Select which methods to offer at checkout: **Card**, **Net Banking (US)**, or both. |
| **Save Payment Methods** | When enabled, Zenskar saves a customer's payment method for future transactions, so the customer checks out faster on later purchases. |
| **Show Amount Breakdown** | A Stripe-specific option. When enabled, the Stripe checkout page shows the customer a breakdown of the total amount due. |

Under **Checkout Redirect URLs**, set where Zenskar sends the customer after checkout: **Success URL**, **Failure URL**, and **Payment Already Completed** URL.

## Features

### Payment links

* Add a payment link when you create an invoice, or turn one on later from an existing invoice with the **Include Payment Link** toggle. This toggle is only available once Stripe is configured for that customer.
* With a payment link on, you can also turn on **Allow Partial Payment** so the customer can pay any amount up to the invoice total.
* When a customer clicks **PAY ONLINE** on the invoice, Zenskar shows a **Confirm Payment** page, then opens a Stripe Checkout session using the payment methods set in [Settings > Payment](#configure-payment-settings).

![Approved invoice with the PAY ONLINE button](https://assets.zenskar.com/20260301/payment-gateways-stripe-invoice-pay-online.png)

![The Confirm Payment page shown before Stripe Checkout](https://assets.zenskar.com/20260301/payment-gateways-stripe-confirm-payment.png)

### Charge an invoice

| Method | How |
| :- | :- |
| **Manually** | Click **Charge Invoice** on an approved or partially paid invoice (also shown in the screenshot above). This is not available on invoices imported from an external system. Choose a payment method in the dialog to charge the invoice immediately. |
| **Automatically** | Turn on **Enable Charge** on the invoice (also shown in the screenshot above). Zenskar charges it automatically, using the customer's default Stripe payment method. |
| **In bulk** | On the Invoices list, select invoices from the All, Draft, Outstanding, or Overdue tab, then choose **Charge** (or **Approve and charge**, if any selected invoices are drafts) from the bulk actions menu. Zenskar charges each invoice's customer using their default Stripe payment method as a background job. You can choose to use only each customer's default payment method, and whether to charge invoices regardless of due date or only overdue ones. |

![Charge Invoice dialog with a payment method selected](https://assets.zenskar.com/20260301/payment-gateways-stripe-charge-invoice-dialog.png)

![Invoices list with invoices selected and the bulk actions menu open, showing Charge](https://assets.zenskar.com/20260301/payment-gateways-stripe-bulk-charge.png)

### Other sync behavior

| Feature | What it does |
| :- | :- |
| **ACH Credit Transfer** | When a customer pays a Zenskar invoice by ACH credit transfer, Zenskar checks the customer's pending invoices, charges the ACH source on Stripe, and applies the payment to the oldest pending invoice first. |
| **Payment method sync** | Zenskar reflects changes to a customer's payment methods on Stripe automatically, for example when a customer sets a new default payment method. This sync runs from Stripe to Zenskar only. Zenskar does not push payment method changes to Stripe. |
| **Credit note import** | Zenskar imports credit notes that Stripe creates, so you can reconcile them against your records. Zenskar does not create or push credit notes to Stripe. |
| **Customer sync** | Sync direction and behavior are described in [Configure the connection](#configure-the-connection). |


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