I'm attempting to use the new feature and every attempt at testing results in a hangup on the outgoing call and a Schema warning in the Debugger that says, " Invalid content was found starting with element 'Pay'. One of '{Play"
My TWiML:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Pay paymentConnector="Default" amount="5.25" action="https://www.website.io/pay_action" />
</Response>
The call setup is: a Twilio js client initiates an outbound call to the twilio application, which requests TWiML from the server, returning a <Dial>
verb. At some point, the caller (js client-side) presses a button, which updates the live call with the above TWiML, which then disconnects.
Any help would be greatly appreciated!!