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

# Stripe

## 🐕‍🦺 Setup guide

This guide will help you connect your Stripe account with your Zenskar account.

> 🚧 Prerequisites
>
> You must have a working Stripe account before you proceed with this guide.

### Integrate Stripe with Zenskar

1. Login to your Zenskar account.
2. Go to **Integrations** > **Payment Gateways** > **Stripe**.
3. Click the **Connect** button on the Stripe connector card.

<Image align="center" border={true} src="https://files.readme.io/9ef3661-zenskar-connector-stripe-3.png" className="border" />

4. You will be redirected to **Stripe Connect Onboarding** flow.
5. Login to your Stripe account from the **Stripe Connect Onboarding** page:

<Image align="center" border={true} src="https://files.readme.io/0e6e461-zenskar-connector-stripe-1.png" className="border" />

<Image align="center" border={true} width="96% " src="https://files.readme.io/d375b03-zenskar-stripe-accounts.png" className="border" />

6. Complete the on-boarding process, and you will be redirected to the dashboard. A **Connected** badge on the Stripe connector card indicates a successful connection.

<Image align="center" border={true} width="55% " src="https://files.readme.io/101761a-zenskar-connector-stripe-2.png" className="border" />

### Configure the Stripe connector

1. To configure the Stripe connector, you can click on the **Manage** on the Stripe\
   connector card:

<Image align="center" border={true} src="https://files.readme.io/72afc30-zenskar-connector-stripe-4.png" className="border" />

Enable the **Customers** module to sync customer information updates between Stripe and Zenskar. The following sync types are available:

* **Import only**: any customer information update on Stripe will be synced with Zenskar.
* **Export only**: any customer information update on Zenskar will be synced with Stripe.
* **Import and Export**: any customer information update to a selected field on one platform will\
  be synced with the other platform.

2. If the sync type selected is **Import and Export**, a desired customer information field can be selected for two-way sync on the next page of connector configuration:

<Image align="center" border={true} src="https://files.readme.io/03018b1-zenskar-connector-stripe-5.png" className="border" />

### Features of the Stripe connector

#### Zenskar initiated payments

* **Payment links with different payment methods**:\
  When a customer clicks on the **PAY ONLINE** button on an invoice, a **Stripe Checkout** session is created for the customer to complete the payment.
* **Auto-charge a customer**:\
  Zenskar initiates a payment intent capture on the customer’s default payment method when:
  * you click on **Charge Customer** button on an invoice or
  * you charge the invoice(s) from the **Invoices** page by clicking on the **CHARGE** button.

#### Customer initiated payments

**ACH Credit Transfer**:\
When a customer sends money via ACH Credit Transfer, Zenskar can automatically check if the customer has pending invoices, charge the ACH source on Stripe and reconcile the payment against the pending invoices (earliest due first).

#### Payment Method sync

Any changes to a customer’s payment methods (eg., changing the default payment method) will reflect on Zenskar.

#### Customer sync

Described in the *Configure the Stripe connector* section.

<Callout icon="📖" theme="default">
  ### Sync

  In this guide, **sync** refers to the syncing of updates only. Thus, sync works for customers in Zenskar who also exist in Stripe. If you would like to import customers from Stripe to Zenskar, please contact [help@zenskar.com](mailto:help@zenskar.com).
</Callout>
