Problem with connecting stripe to botpress
# 🤝help
m
I want to connect Stripe so that every time a payment goes through successfully, the bot sends a message like "Thanks for your purchase." I've set up a Stripe webhook endpoint, but I don't know what to do next. I tried the function execute code and triggers but couldn't figure it out. Any tips?

https://cdn.discordapp.com/attachments/1147226845897568367/1147226846480580708/image.png

t
Instead of putting the text box in a node after the trigger, could you perhaps try putting it in the same node just below the trigger? This is merely a suggestion, but I figure it'd be worth a try.
m
Shouldn't that connection to the success node be after the payment webhook; then add a else if code to state wether it has been successful or not.