I'm not a developer so I'm largely restricted to TWILIO STUDIO FLOW--with decent success.
Attempting now (unsuccessfully) to add an IVR payment option 'Press X to pay your bill'.
When prompted by a Gather widget the caller (customer) enters the bill amount. This gathered value becomes the input parameter to the Capture Payments widget for payment processing by Stripe.com.
I have confirmed that my Twilio-Stripe account 'Default' connection is correct by successfully processing a hard-coded charge amount (using Twilio's example Twiml code).
Since we need customer/callers to enter variable bill amounts, we're doing this via a Gather Input wizard (since I'm not a programmer). I've tried repeatedly to use the Studio Flow 'Capture Payment' wizard with three recurring problems.
Can someone tell me how to convert the digits entered into a dollar-and-cent value (effectively 'nnnn' x .01 = 'nn.nn') OR how to enter a decimal via the telephone touch pad
read back the 'xx dollars and xx cents' amount entered confirmation verbiage before continuing to process payment
Is there perhaps any obscure something else required to get a successful payment via the Flow Pay wizard (other than dragging the connector and providing valid CC credentials)? No matter what I have tried, it does not appear to recognize the DTMF codes and after three attempt (with a valid credit card), it continues to disconnect.
In the gather_confirm_amount widget input box is this verbiage:
You entered the amount of {{widgets.gather_amount_due.Digits | split: "." |
first}} dollars and {{widgets.gather_amount_due.Digits | split: "." | last}}
cents.
If this is correct, press 1.
This value is entered into the 'Charge Card With Amount' field using the following
{{widgets.gather_amount_due.Digits | split: "." | first}} dollars and
{{widgets.gather_amount_due.Digits | split: "." | last}}'''
When user enters into 100 into '''gather_amount_due''' widget I get 'You entered the amount of 100 dollars and 100 cents.'
Obviously, I am trying to return a response 'You entered ONE DOLLARS and ZERO CENTS'.
Also, the Stripe payment prompt says three times 'Please enter your credit card number' and then disconnects due to 3 max attempts. It does not appear to be acknowledging the DTMF inputs at all.
Thank you.