# Stripe

## Introduction

Bunny leverages Stripe for credit card and bank payments. Once you have configured the Stripe integration, customers will be presented with all the applicable payment options for their country, based on the payment methods you have configured in Stripe.

The payment form will look something like this:

<figure><img src="https://1350849115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbI5ndB_5fDbdrLXs5c%2Fuploads%2Ft8AEKDncFViwkfDmhhac%2Fimage.png?alt=media&#x26;token=1de22888-c90b-4108-9e7a-f94f8f3a8811" alt="" width="375"><figcaption><p>Stripe payment form</p></figcaption></figure>

## Configuration

Select Stripe from the integration list.

<figure><img src="https://1350849115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbI5ndB_5fDbdrLXs5c%2Fuploads%2FKbgeW83vMog5aWjQhodO%2Fstripe%20plugin.jpg?alt=media&#x26;token=743d90e0-38d8-410b-b90d-abb7ac7ab341" alt=""><figcaption></figcaption></figure>

Login to the Stripe dashboard and navigate to <https://dashboard.stripe.com/apikeys>. Here, copy the following pieces of information:

* Secret Key
* Publishable Key
* Webhook siging secret
  * Log in to your Stripe dashboard
  * Click **Developers** in the bottom left corner.
  * Click the **Webhook**” tab.
  * Click **+Add endpoint** in the top right part of the screen.
  * Copy/paste the Webhook URL that is found on the Stripe integration configuration screen in Bunny, and insert it in the **Endpoint URL** field.
  * Click “+Select events” and select `payment_intent.succeeded`, `setup_intent.succeeded` and `payment_intent.payment_failed`.
  * Click the **Add endpoint** button.
  * Under **Signing secret**, click **Reveal**
  * Copy the code and paste it into the signing secret field on the Stripe integration configuration page in Bunny.

Insert the Secret Key and the Publishable Key in the form and enable the integration. Click Save. The Configuration Status field will change to **VALID** if the credentials are correct.

The Stripe integration is now ready to use.
