Integration with the Stripe payment system

Modified on Mon, 1 Sep at 12:31 PM

Link to the payment system Stripehttps://dashboard.stripe.com/ To integrate the Stripe payment system, you need a secret API key and a webhook key. See How to create a payment integration.

You can obtain the secret API key as follows:

  1. Go to the Stripe developer dashboard → 'Developers'.

  2. Open the 'API keys' section.

  3. Copy the value from the 'Secret key' field. 

    Note:

    The webhook key is configured separately in the corresponding section of the Stripe dashboard. Link to Stripe documentation on keys: https://docs.stripe.com/keys.

     

  4. Next, you need to configure the webhook key and select the events it will send to us.



To configure webhooks, follow these steps:

  1. In the Stripe dashboard, go to the 'Developers' → 'Webhooks' section.

  2. Click ’Add endpoint’ (add a web hook). 

  3. In the 'Endpoint URL' field, enter the address to which Stripe will send notifications.

  4. Save the changes.

    Note:

    After creating a webhook, a Signing secret is available in the same section, which is necessary for verifying the authenticity of requests.


  5. Next, you need to add events to the webhook. The complete list is below:

    checkout.session.completed
     checkout.session.expired
     payment_intent.amount_capturable_updated
     payment_intent.canceled
     payment_intent.created
     payment_intent.payment_failed
     payment_intent.processing
     payment_intent.requires_action
     payment_intent.succeeded
    

After setting up the payment integration, you can use the 'Payment' element. See 'Chatbot Element → Payment'.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article