Home · Accepting payment · Accepting payments through CloudPayments in a chatbot

Accepting payment

Accepting payments through CloudPayments in a chatbot

Connect your CloudPayments site: the bot sends an invoice in the chat, the customer pays on the provider page, and the scenario continues once the payment is confirmed.

The Payment block is available on all plansUse your own payment providerReceipts via CloudKassir

What connecting CloudPayments gives you

A payment button in the chat

The Payment block sends the amount and a “Pay” button. Card details are entered on the CloudPayments page, not sent to the bot in a message.

The scenario follows the result

The “Paid” output leads to a confirmation and the next step, the “Error” output to a fallback path.

Protection from other settings

If CloudPayments already has notification URLs of another site, CHBT asks for confirmation before replacing them — events of another flow will not be lost blindly.

Магазин с корзиной

Онлайн-оплату заказов магазина в боте можно подключить через CloudPayments — магазин доступен с Базового тарифа.

How to connect

  1. 1

    Expand the CloudPayments card in “Accept payments”

    The section is in the project menu: in the full menu under sales, in the simple menu via “More”.

  2. 2

    Enter Public ID and the API password

    Take them in your CloudPayments account: “Sites” → settings of the right site. Press “Verify and save”.

  3. 3

    Set up notification URLs

    After connecting, set the Check, Pay and Fail URLs following the card's hints. Do not replace other URLs blindly — first find out which site and sales flow they serve.

  4. 4

    Add the Payment block to the scenario

    Choose the cashier, set the amount in rubles and a description, connect the “Paid” and “Error” outputs and test the payment before launch.

The seller's own keys, not CHBT keys

This scheme uses the credentials of your CloudPayments account. The keys CHBT itself uses to take payment for plans are unrelated: each seller connects their own cashier.

Receipts via CloudKassir

The CloudPayments card has a “Receipts for payment in scenarios” block: tax system, VAT and payment subject. Receipts in this integration require CloudKassir at the provider. Collect the customer's contact before the Payment block through “Data collection”.

What the integration does not do

The limits are clear before you launch.

  • Does not take the money for you: payment goes to your cashier, CHBT does not become the recipient.
  • Does not take card data in the chat: the customer pays on the payment provider's page.
  • Does not confirm payment by opening the payment page: the scenario continues after confirmation from the provider.
  • Does not replace fiscalisation: receipts must be set up at the payment provider.
  • Does not accept payments in KZT and UZS: for YooKassa and CloudPayments this integration uses rubles.

Available plans

The CHBT plan price is per bot per month. Fees and payment methods are set by your contract with the provider, not by CHBT.

Free0 ₽
The Payment block and your own cashier are on all plans, including Free (30 conversations a month)
Basic650 ₽/month
Дополнительно — магазин с корзиной и заказами (оплата заказов через ЮKassa или CloudPayments)
Business1,290 ₽/month
Everything in Basic; cashier limits are set by your contract with the payment provider

Compare Plans in full →

FAQ

Where do I get the Public ID and API password for CloudPayments?

In your CloudPayments account: “Sites” → settings of the right site.

Do I need CloudKassir?

For receipts sent through this integration, yes: fiscalisation must be set up at the provider. A single switch in CHBT is not enough.

Do I need a paid CHBT plan to send an invoice?

No. The Payment block is available on all plans. Terms of working with the cashier are set by your payment provider.

Who can connect and change the cashier?

The project owner and administrator can connect and change the cashier. An operator does not change payment credentials.

Take payments right in the chat

Create a bot, connect CloudPayments and test a payment before launching for customers.

Create a bot and connect payments