This project serves as a guide to help you build a pay by phone IVR application with FreeClimb.
Specifically, the project will:
- Receive an incoming call via a FreeClimb application
- Route users via DTMF (e.g. keypad) input
- Collect and process credit card payment information using
privacymode
- Use PerCL to send an SMS payment confirmation message to user
We offer a Pay by Phone with Voice Calling how-to guide for more detailed set-up instructions and explanation of how the code in this sample app works.
A registered application with a named alias
A configured FreeClimb number assigned to your application
Trial accounts: a verified number
Tools:
-
Install the required packages
yarn install
-
Create a .env file and configure the following environment variables within it:
ENV VARIABLE DESCRIPTION ACCOUNT_ID Account ID which can be found under API credentials in dashboard. API_KEY API key which can be found under API credentials in dashboard. HOST The hostname as defined in your FC application. We recommend ngrok as an option to get up and running quickly. PORT Specifies the port on which the app will run (e.g. PORT=3000 means you would direct your browser to http://localhost:3000). FC_NUMBER The FreeClimb phone number associated with your application.
yarn start
If you would like to give the team feedback or you encounter a problem, please contact support or submit a ticket in the dashboard.