Objective
SecurePay Digital Automation uses IVRs to send an SMS or email to a caller upon payment request. For 8x8 customers, this can be set up using our ICA (Intelligent Customer Assistant) solution with Cognigy. This article will outline what is required for the cofiguration to work.
Applies To
- SecurePay (PCI Pal) Digital Automation
- Intelligent Customer Assistant (ICA)
Procedure
For the Cognigy setup, your flows will need to do the following:
-
Fetch an access token from PCI Pal.
-
Generate a payment session with PCI Pal.
-
Poll the PCI Pal session to confirm completion.
The video below details how this is configured in Cognigy.
To summarize the video, you will need to do the following:
- Create a HTTP Request node to fetch access token your Cognigy Flow
- Ensure the Method used is POST
- The URL and payload secret will be supplied by PCI Pal
- Make sure the storage optin is set to Context and will store it as your access token.
- Click Save.
- Create a new HTTP request node to generate a payment session with PCI Pal.
- Ensure the node is using the POST method.
- Enter the URL for your PCI Pal envirnment.
- Select the Payload as JSON.
- In this example we have hardcoded the JSON to get a specific flow ID, reference number, payment amount, and customer details.
- In this example we have hardcoded the JSON to get a specific flow ID, reference number, payment amount, and customer details.
- Set the information to be stored as context as a session ID.
- Click Save.
- Create a new HTTP request node to poll the session for completion.
- Ensure the node is using the GET method.
- Enter in the URL of your environment.
- Click Save
- Set a confirmation message to play if the polling session completion result is set to true.