> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/en/features/stripe-setting-add-on-module.md).

# Stripe Setting (Add-On Module)

For Chat To Order & WhatsApp Commerce Module）

### Step 1

Go to: [**https://dashboard.stripe.com/register**](https://dashboard.stripe.com/register) and register a Stripe Account

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F8Lpt5wfvxh7CeedTqA5G%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%881.55.36.png?alt=media&amp;token=e00f78c9-86eb-48ac-9db0-74cf6974a542" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please refer to this [**guide**](https://www.youtube.com/watch?v=u9YcbWDioC4) for registering Stripe Account
{% endhint %}

If you have created or connected Stripe Account, Stripe will verifty your business information and approve your account

{% hint style="info" %}
Please refer to this [**guide** ](https://www.youtube.com/watch?v=hmKdZVhDk7I)for checking verification status
{% endhint %}

### Step 2

1. Go to: [**https://dashboard.stripe.com/webhooks**](https://dashboard.stripe.com/webhooks)
2. Click "Add an endpoint" to setup webhook

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FctSygNiGq7HPB9qQfJfz%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%882.41.14.png?alt=media&amp;token=9a53595f-2288-4813-944d-3a22bf1e21c9" alt=""><figcaption></figcaption></figure>

3. Input URL: [**https://payment-api.omnichat.ai/v1/webhook/stripe**](https://payment-api.omnichat.ai/v1/webhook/stripe)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FNJ3dYbVlWGEhngEeROBS%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%882.42.52.png?alt=media&amp;token=11bbedd3-3595-4233-8a30-8855b67e8cc2" alt=""><figcaption></figcaption></figure>

4. Select events:

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FL72FzWtBkWIcwp5upwGs%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%882.50.29.png?alt=media&amp;token=1ecfa750-c9b4-403a-a285-98852e3d87f1" alt=""><figcaption></figcaption></figure>

* Checkout ( All 4 events)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F5bL75WdsGEchXGV3BxOl%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%882.55.00.png?alt=media&amp;token=ac1901d6-fb9d-4da8-bb7e-b84e66ef14f2" alt=""><figcaption></figcaption></figure>

* Charge ( All 13 events)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FQEPZW93gw8lwyCAuQJoS%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%882.55.45.png?alt=media&amp;token=76f1b64c-cfb4-45b2-b5a8-27016bc3b2d6" alt=""><figcaption></figcaption></figure>

### Step 3

1. Get Signing secret in Webhook

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FVzmIQd912iBrd23bIdgK%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%883.00.45.png?alt=media&amp;token=ea25a494-ded4-49e6-a9aa-fd47932aa33c" alt=""><figcaption></figcaption></figure>

### Step 4

1. Go to: [**https://dashboard.stripe.com/apikeys**](https://dashboard.stripe.com/apikeys)
2. Click "Reveal live key" next to "Secret Key" row

{% hint style="warning" %}
it is highly recommended to use test mode first, please switch on test mode and then copy the API secret key
{% endhint %}

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FltWtafLZimGFRwYXdarz%2F%E6%88%AA%E5%9C%96%202023-11-15%20%E4%B8%8B%E5%8D%883.21.52.png?alt=media&amp;token=2f46df2f-a33a-41ed-9a3b-79ae06c206b0" alt=""><figcaption></figcaption></figure>

### Step 5

Provide the **Step 3 Signing Secret Key & Step 4 API Secret Key** to Omnichat advisor

{% hint style="warning" %}

1. After successful testing with test signing secret key and API secret key, you must switch to the live signing secret key and API secret key
2. Provide the live signing secret key and API secret key to Omnichat advisor
   {% endhint %}
