In this article we will discuss what the Payment step is, why we need it and how to configure it in TruCHAT. The Payment step is part of a chatbot script that allows you to enable purchases via your chatbots and provide your customers with a possibility to make payments using their credit cards or PayPal account. Let's see how it works.

1. Go to the Chatbots section and select a chatbot you want to add the payment feature to.

null

2. Double-click on the script you want to edit.

null

3. Click on the Add button.

null

4. Select Payment

null

5. Add three more Content steps.

null

6. Name them Sucess, Skip, and Fail.

null

7. Now we are ready to configure the Payment step. Click on it.

null

8. Select steps to go on success, fail, and skip (those we've created in steps 5-6).

null

9. Select a payment service provider so that your customers could use it to make payments. You can choose either Stripe or PayPal. To learn how to configure integration with payment services, please see the article TruCHAT's Integrations Overview.

null

10. Go to the Product Settings tab.

null

11. Select whether the product price and currency will be picked up from your Stripe account or configured manually.

null

12. Enter the product price. You can use the value of a custom or a global field as a product price or enter it manually by enabling the Constant toggle. Amount must convert to at least 50 cents.

null

13. Select the payment currency you would like to use for your product price from the dropdown list.

null

14. Enter the text to be displayed on the Pay button, e. g. 'Buy for $10'.

null

15. Your Payment step is now configured. All you have to do is connect it to the main step by dragging an arrow from the main step to the Payment one.

null

16. Click Preview.

null

17.  Test your bot.

null

Done! Now you know how to configure the Payment step and provide your customers with an opportunity to buy products or services right in the chatbot.