Yay! You can finally generate and process payments straight from landbot with our new Power Up: Stripe Payment. Learn how to make commas now!
- To create a Stripe payment, you first need to add a Integrations > Stripe type block on the chatbot builder:
- If this is your first time adding a Stripe payment, you'll need to integrate your Stripe account with Landbot following these steps:
- Click on Stripe Payment to add your account:
- Now, fill in the following information:
- Company. Add the name of your company/project users will see when completing the payment.
- KEY. A code you will find on your Stripe account (https://dashboard.stripe.com/account/apikeys)
- Secret. Another code you will need to link your account, also accessible from your Stripe's dashboard (https://dashboard.stripe.com/account/apikeys).
- Now, click Save and continue and your Stripe account will be correctly integrated!
- Now, the block will give you some options you can customize:
- Charged amount. Here you can add the amount of the payment visitors will need to make. (use points "." for decimals and commas "," for milliards).
- Currency. Select the currency you want your users to be billed in.
- Checkout optional description. Add a little description of the specific product/service they're paying for.
- Finally, you can customize the messages sent by Landbot while generating/processing the payment by clicking Custom on the toggle:
You can customize 2 different messages here:
- Opening payment popup message. The message sent while the payment is being generated, aka Stripe's pop-up is loading.
- Closing payment popup message. The message right after the payment information has been provided and the payment confirmed.
- Now, you need to connect the three buttons/dots of the Stripe Payment block the following way:
- Success. This is the path the flow will follow if the payment was successful. Thank it to your user!
- Failed. If something goes wrong while processing the payment, this is what will happen!
- Canceled. Some users might cancel the payment, and this is the path they'll follow...
- Finally, this is what the payment looks like from the visitor's perspective:
Now you know everything you need to start generating payments in Landbot through Stripe, take your conversations to the next level! 💸