u/DueTower1592

RetellAI & Twilio / Stripe Integration for Secure Payment

Hi! I'm trying to integrate a retellai agent with twilio / stripe to facilitate payment. My goal is to manage most of the call flow in retellai and as soon as they need to pay, I send them over to twilio / stripe and they do a secure payment, and then they are sent back to retellai to complete the call. I can't terminate the call in twilio after a successful payment because there are steps after payment that have to occur in retellai. I don't want to capture the payment in retellai because I don't want to deal with the PCI compliance requirements. I'm playing around with either using an agent transfer (via SIP) or a custom function to send the caller to Twilio. But my issue is that in either of these scenarios, the call ends upon transfer in retellai. While I can get the caller back from Twilio to retellai after payment, the issue is that it's now a completely separate call in retellAI so I have to load it up with context and continue the flow. Also, it's just tough to link these 2 calls to a single customer call.

Is there any way to keep the entire flow in a single call in retellAI? Let me know if I'm missing something. Thanks!

reddit.com
u/DueTower1592 — 8 days ago