Implement payment for products in one click - add a payment button a message based on your chatbot scenario and automate the purchase process.
After clicking on the button, the user will be redirected to the payment page of the selected payment system, where they can select their account and pay for the product. The money will be immediately transferred to your payment system account.
After payment, the flow can be continued in scenarios when payment was successful.
How to Add a Checkout Button
Add a Message element. Enter a description for the item. You can also add interactive elements: a picture or gallery from product cards.
Click "+ Add Button."
Write the text of the button in the field. For example, clarify the product price and payment system for the user if you are adding two different buttons.
Select through which payment system you will accept payments.
Enter the price and name of the product - they will be displayed on the payment system page and in the receipt.
Then click "Add" to save the button.
How to Continue the Flow
After payment, you can configure a successful payment scenario. To continue the flow connect the next element with the green dot after the payment button.
You can, for example, add an action to assign a tag, change the value of a variable, send an alert to your CRM via webhooks. You can also create a record in your CRM, or request information, filter the values and, depending on the results, send the desired message to the user.
Click "Save" and run the flow, start testing by sending the flow to yourself.
You can test the payment service without money. This payment will be assigned the "Test" status.
How the Payment Process Looks from the User's Side
After clicking on the "Buy" button, the user is redirected to the payment system page.
The page will display the name of the product and the price. The user will have to choose to pay with a saved or new card.
The transaction details will display your wallet and payment method. The payment will need to be confirmed.
In case of successful payment, the user will be shown a message about the successful transfer on the payment page.
And the scenario for the successful payment flow will be launched in the chatbot.
How to Test Chatbot Payments
You can test your integration with payment systems and check payment processing for various statuses.
To do this, the bot owner needs to proceed with the flow to the payment button. After clicking on the "Buy" button, you will be redirected to the test payment page.
Click "Test checkout"
Then, select the status you want to check.
Сompleted - the user has successfully paid for the product and the money has been credited to your account.
Incomplete - the user went to the payment page, but did not complete the payment.
Canceled - the user canceled the payment.
Error - an error on the side of the issuing bank; for detailed information, the user who has tried to pay can be advised to check their data and card limits or contact their bank for support.
How to View Payment History
To view your payment history, click on the "Chats" sidebar and go to the "Orders" tab. You will see payment details: username, product name, price, date of last status change and payment status.
All payment statuses are given by the selected payment system. For more information, we recommend contacting the support of the payment system.
You can also view your payment history through “Account Settings” > “Accept Payments.”
Add a payment button to the message with a product description and automate your eCommerce work, continuing the flow after payment with additional elements.
Last Updated: 2021-01-22