Link to the payment system Stripe — https://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:
Go to the Stripe developer dashboard → 'Developers'.
Open the 'API keys' section.
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.
Next, you need to configure the webhook key and select the events it will send to us.
To configure webhooks, follow these steps:
In the Stripe dashboard, go to the 'Developers' → 'Webhooks' section.
Click ’Add endpoint’ (add a web hook).
In the 'Endpoint URL' field, enter the address to which Stripe will send notifications.
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.
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
Feedback sent
We appreciate your effort and will try to fix the article