From e7437d340908ef00b57b4b2f66f689fb38675780 Mon Sep 17 00:00:00 2001
From: Tyler Hendrickson <6372535+hendrickson-tyler@users.noreply.github.com>
Date: Wed, 11 Sep 2024 12:51:45 -0600
Subject: [PATCH] fix(ivr): prompt customer to check their statement to verify
payment when an unknown error is encountered
---
.../c3-agent-assisted-payment-ivr-flow.json | 42 +-
.../modules/c3-payment-ivr-flow-module.json | 440 +++++++++---------
2 files changed, 241 insertions(+), 241 deletions(-)
diff --git a/lib/connect/flows/c3-agent-assisted-payment-ivr-flow.json b/lib/connect/flows/c3-agent-assisted-payment-ivr-flow.json
index 33586923..331dc685 100644
--- a/lib/connect/flows/c3-agent-assisted-payment-ivr-flow.json
+++ b/lib/connect/flows/c3-agent-assisted-payment-ivr-flow.json
@@ -16,7 +16,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "7ffc92e4-bf2d-4c43-9f14-ff976b256a02",
+ "id": "ea4c9580-fa54-46dd-a3f7-52d45efa43ba",
"operator": {
"name": "Is greater than",
"value": "GreaterThan",
@@ -214,11 +214,11 @@
"isFriendlyName": true,
"conditionMetadata": [
{
- "id": "1ec96e90-63ad-42fc-a1c1-075545a3a062",
+ "id": "443e516c-0e0c-4ca1-a97b-e52e703b8321",
"value": "1"
},
{
- "id": "73994a8b-9e01-4a9c-9edf-038801b335e4",
+ "id": "efa3ed18-9985-48b0-b3f7-3331460d3925",
"value": "2"
}
]
@@ -232,7 +232,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "57d6877b-1309-45ed-90fe-f7e33e66705c",
+ "id": "ff1b9733-2cf9-428f-8d4b-50044e9eb5fd",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -241,7 +241,7 @@
"value": "Card"
},
{
- "id": "9c8ce9ba-498f-4203-aeaa-3afdabfc4cee",
+ "id": "42c7f6d3-def9-43ca-96da-415c90c350c0",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -259,11 +259,11 @@
"isFriendlyName": true,
"conditionMetadata": [
{
- "id": "f61a29ff-add3-4d53-aca8-b9b9c155c8d9",
+ "id": "b964e085-a66e-412d-8504-90b992edd69f",
"value": "1"
},
{
- "id": "ee00e071-7600-429c-abe2-98b2cb79d5f0",
+ "id": "c0b6d24f-0890-41de-9d1f-01cafa5f9966",
"value": "2"
}
]
@@ -283,11 +283,11 @@
"isFriendlyName": true,
"conditionMetadata": [
{
- "id": "1576cfd5-c481-4434-b648-86f7c541a685",
+ "id": "11d85fe2-8e07-4f3d-b01e-b3ce47ce9909",
"value": "1"
},
{
- "id": "193656e9-da6b-4b2f-bc27-3a95ae675d49",
+ "id": "db2252e8-e381-4a86-aa53-319559904d6b",
"value": "2"
}
]
@@ -512,7 +512,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "cf3666cd-767c-4f34-a7b1-562ac3a67f78",
+ "id": "d1134c96-e7f7-44db-8c3f-157da1559f78",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -531,7 +531,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "55f9ad3f-2e9a-4106-8314-77d67ced9894",
+ "id": "052e2566-0d86-4e80-9c34-46d787e2cff5",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -593,7 +593,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "e7375e80-9c49-4259-8996-f35dce512f9f",
+ "id": "5828da8d-1aef-47ff-88ce-4c95aa95c11c",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -612,7 +612,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "4aea7b1e-03bd-4392-a938-9e1e9233059a",
+ "id": "1b2cb04d-78ec-4f6c-9ecb-ba142ef0acce",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -674,7 +674,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "7ee43dab-3b23-42a2-8072-26c589759e71",
+ "id": "97c72f73-97dd-4621-883b-1cc1811bcabc",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -693,7 +693,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "e95e0d09-93c0-434d-8008-4608a9eae310",
+ "id": "4e82c90d-a656-46a8-bead-1397b34f4e41",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -771,7 +771,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "5cc6632e-cadf-46d4-8588-9caa4e370ac1",
+ "id": "cd201398-354d-4a21-8819-e107f5043742",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -790,7 +790,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "d76eab61-96a5-4687-be6f-6f436df68194",
+ "id": "7569b0fa-c303-4e2f-a705-95502dfef65f",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -830,7 +830,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "e8760123-9028-4a12-b382-c65fadedda66",
+ "id": "42c66fe7-819e-467e-aecd-8d71b5d0d0a8",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -924,7 +924,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "5a3d64b8-1067-42ac-ba5a-aab03795dd40",
+ "id": "5629b931-9afb-431c-a0f7-b800b10d3bd5",
"operator": {
"name": "Contains",
"value": "Contains",
@@ -1058,7 +1058,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "f9463fc3-3d69-41aa-acb5-9e51a54bc7d7",
+ "id": "01f7cfa3-5078-449b-bcb6-943ec2227678",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -3173,7 +3173,7 @@
},
{
"Parameters": {
- "Text": "\n>\" rate=\"<>\">\nThe payment failed to submit because of an unknown error.\n\n"
+ "Text": "\n>\" rate=\"<>\">\nWe’re unable to confirm if your payment was processed. Please check your $.Attributes.PaymentMethod statement to verify.\n\n"
},
"Identifier": "Speak Paymen Submission Unknown Error",
"Type": "MessageParticipant",
diff --git a/lib/connect/flows/modules/c3-payment-ivr-flow-module.json b/lib/connect/flows/modules/c3-payment-ivr-flow-module.json
index 29f6e8a7..9aca9df6 100644
--- a/lib/connect/flows/modules/c3-payment-ivr-flow-module.json
+++ b/lib/connect/flows/modules/c3-payment-ivr-flow-module.json
@@ -79,7 +79,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "fd85ae0c-761e-477a-a903-c60be59f19b2",
+ "id": "02c70aa1-421f-49dd-95aa-5344d8f45c4c",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -88,7 +88,7 @@
"value": "Timeout"
},
{
- "id": "dda339a4-3e72-41dd-b23a-0e81c79e2c02",
+ "id": "031ff78f-a2ab-4ea5-becc-befde3149bea",
"operator": {
"name": "Is greater than",
"value": "GreaterThan",
@@ -97,7 +97,7 @@
"value": "$.Attributes.PaymentAmountDue"
},
{
- "id": "b8e601b8-ef37-4622-834f-9c33d6ec3431",
+ "id": "1e50fd67-d1e0-48e2-ab08-3f13761f639b",
"operator": {
"name": "Is less than",
"value": "LessThan",
@@ -114,23 +114,6 @@
},
"isFriendlyName": true
},
- "Ask for Payment Method": {
- "position": {
- "x": 2230.4,
- "y": -29.6
- },
- "isFriendlyName": true,
- "conditionMetadata": [
- {
- "id": "a1b44467-8dc3-41ae-a076-b7573266dd9e",
- "value": "1"
- },
- {
- "id": "7ae762e7-4c10-4df9-8bc9-b03a0848d9be",
- "value": "2"
- }
- ]
- },
"Check Last Payment Method": {
"position": {
"x": 1000,
@@ -140,7 +123,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "9d2ed26f-65bd-4a09-b62e-b560dbe80470",
+ "id": "17bbc5da-0752-40b4-956a-21c1fe99763b",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -149,7 +132,7 @@
"value": "Card"
},
{
- "id": "d78e50db-b98a-4f3a-852b-f317815dbae7",
+ "id": "a2c2237e-42d9-4c50-b09f-7d6cdf7a6bc1",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -182,7 +165,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "7b75863f-d40e-4950-b8f9-8df26b7fd194",
+ "id": "dbe1320a-9710-41b2-b639-8a9e27a8b5cd",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -191,7 +174,7 @@
"value": "PaymentAmountDue"
},
{
- "id": "9540321b-d370-4dfe-b4c2-0acb9c9a8519",
+ "id": "222dfa0f-fefe-4170-a94e-72b8e196741e",
"operator": {
"name": "Is greater than",
"value": "GreaterThan",
@@ -216,11 +199,11 @@
"isFriendlyName": true,
"conditionMetadata": [
{
- "id": "ae86370c-0191-47ef-ae97-842c5178bffd",
+ "id": "2200b30c-7728-44c3-99c8-306d225e92e5",
"value": "1"
},
{
- "id": "d39f581a-1695-4a03-9c72-65c6a0cc969a",
+ "id": "3a4796ac-3dce-4876-8d5a-0d22667a6ee5",
"value": "2"
}
]
@@ -240,14 +223,6 @@
},
"isFriendlyName": true
},
- "Set Payment Method to Card": {
- "position": {
- "x": 2685.6,
- "y": -802.4
- },
- "isFriendlyName": true,
- "dynamicParams": []
- },
"Card Number Timeout": {
"position": {
"x": 2823.2,
@@ -301,7 +276,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "2639bb5c-9e77-44cf-b60c-fde92ef0bfa1",
+ "id": "45d1deee-afdb-4a93-9f1b-f6ef648d7684",
"operator": {
"name": "Contains",
"value": "Contains",
@@ -328,7 +303,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "955629e2-84e7-4971-8623-38f2283b4575",
+ "id": "c9e0dbf6-d3d7-4a54-a038-b5b496db4e4c",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -360,11 +335,11 @@
"isFriendlyName": true,
"conditionMetadata": [
{
- "id": "15559498-1c12-407c-bfc0-a2848f8af90a",
+ "id": "fd928968-eb23-40d8-8ce7-55423b2bab55",
"value": "1"
},
{
- "id": "fbac5968-af64-4f19-85ca-bc16114be4f5",
+ "id": "def351cd-53b4-4143-ac19-4356fe32b75e",
"value": "2"
}
]
@@ -464,7 +439,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "2a0aa3bc-36be-4551-9263-3ef8be766e48",
+ "id": "b0f94a57-e4d1-4f10-adc5-388010e9e508",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -511,7 +486,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "e31074b1-ad7c-49d4-8f31-f3375934803e",
+ "id": "5bd6524b-be50-4ff1-a260-124b0062500f",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -530,7 +505,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "cb18b702-554a-4931-8188-613002fe9512",
+ "id": "6fbf51a1-074b-4811-80fd-f3c696ad2431",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -586,7 +561,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "1bbed8cc-0825-47ce-a01e-359bcd7bafe4",
+ "id": "62301a0b-0a08-4b23-9cbe-13080d6fc25c",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -612,7 +587,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "866bfece-4fbb-4b40-9ada-ae2cefe4adef",
+ "id": "ec78ec3b-6f2e-4065-bc3f-a990aeb222e9",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -631,7 +606,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "626cd832-5cab-4d1b-a95a-525ddc7f005f",
+ "id": "6a8785d7-e576-4024-83c7-07869ca6c2e5",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -678,7 +653,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "19360143-9684-4ced-9236-b7f21348ea80",
+ "id": "6dd7e3a5-ee78-40a5-bab9-97c4be70ee62",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -697,7 +672,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "35a74577-c32c-4f43-8e5a-71f6d417b409",
+ "id": "5b654b48-bf6a-43a7-86f5-a9fcedb5c389",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -776,15 +751,6 @@
"conditionMetadata": [],
"countryCodePrefix": "+1"
},
- "Get & Encrypt Card Number": {
- "position": {
- "x": 2907.2,
- "y": -807.2
- },
- "isFriendlyName": true,
- "conditionMetadata": [],
- "countryCodePrefix": "+1"
- },
"Redact Sensitive Contact Attributes": {
"position": {
"x": 8200,
@@ -860,32 +826,6 @@
},
"isFriendlyName": true
},
- "Speak Validation Error": {
- "position": {
- "x": 5846.4,
- "y": 234.4
- },
- "isFriendlyName": true
- },
- "Check for Tokenize Error": {
- "position": {
- "x": 5646.4,
- "y": -300
- },
- "isFriendlyName": true,
- "conditions": [],
- "conditionMetadata": [
- {
- "id": "53fc169a-3e46-4423-8ac5-ed28a91d5e07",
- "operator": {
- "name": "Equals",
- "value": "Equals",
- "shortDisplay": "="
- },
- "value": "NULL"
- }
- ]
- },
"Payment Success": {
"position": {
"x": 7044,
@@ -928,6 +868,32 @@
},
"isFriendlyName": true
},
+ "Check for Tokenize Error": {
+ "position": {
+ "x": 5646.4,
+ "y": -300
+ },
+ "isFriendlyName": true,
+ "conditions": [],
+ "conditionMetadata": [
+ {
+ "id": "163bcc2c-62f8-4399-8348-d4f1f96d12bb",
+ "operator": {
+ "name": "Equals",
+ "value": "Equals",
+ "shortDisplay": "="
+ },
+ "value": "NULL"
+ }
+ ]
+ },
+ "Speak Validation Error": {
+ "position": {
+ "x": 5846.4,
+ "y": 234.4
+ },
+ "isFriendlyName": true
+ },
"Use Card Again?": {
"position": {
"x": 1289.6,
@@ -936,11 +902,11 @@
"isFriendlyName": true,
"conditionMetadata": [
{
- "id": "b7084099-987d-4302-b3dd-49b40896d542",
+ "id": "48cc9623-9466-4974-91b1-b9de5f5a19fc",
"value": "1"
},
{
- "id": "ddcc2892-4532-4a41-8b81-d90a405cc4b4",
+ "id": "f7d2e099-a0e4-4d65-a745-a9a00437473d",
"value": "2"
}
]
@@ -953,11 +919,11 @@
"isFriendlyName": true,
"conditionMetadata": [
{
- "id": "eb9e0008-c722-4f4b-9a8d-5cafcc856677",
+ "id": "51686917-048d-41b3-8b2d-181283fb409d",
"value": "1"
},
{
- "id": "cfd9f4a0-3bab-4801-a989-0a12a65de35f",
+ "id": "40173065-0660-4c92-88f1-bb65fb3f4bc0",
"value": "2"
}
]
@@ -979,7 +945,7 @@
"conditions": [],
"conditionMetadata": [
{
- "id": "d0791a3b-a82c-496b-9c87-35c929119af1",
+ "id": "258397d2-e62a-4fc0-80e9-0377488cbb81",
"operator": {
"name": "Equals",
"value": "Equals",
@@ -989,6 +955,40 @@
}
]
},
+ "Ask for Payment Method": {
+ "position": {
+ "x": 2230.4,
+ "y": -29.6
+ },
+ "isFriendlyName": true,
+ "conditionMetadata": [
+ {
+ "id": "6165f794-e83a-48e7-95f9-d939d4fa7601",
+ "value": "1"
+ },
+ {
+ "id": "670e6c41-3649-456f-b871-cda012476df5",
+ "value": "2"
+ }
+ ]
+ },
+ "Get & Encrypt Card Number": {
+ "position": {
+ "x": 2907.2,
+ "y": -807.2
+ },
+ "isFriendlyName": true,
+ "conditionMetadata": [],
+ "countryCodePrefix": "+1"
+ },
+ "Set Payment Method to Card": {
+ "position": {
+ "x": 2685.6,
+ "y": -802.4
+ },
+ "isFriendlyName": true,
+ "dynamicParams": []
+ },
"Remove Failed Payment Token and Method": {
"position": {
"x": 6968.8,
@@ -1293,48 +1293,6 @@
]
}
},
- {
- "Parameters": {
- "StoreInput": "False",
- "InputTimeLimitSeconds": "5",
- "Text": "\n>\" rate=\"<>\">\nTo pay with a credit or debit card, press 1.\nTo pay directly with your bank account, press 2.\n\n"
- },
- "Identifier": "Ask for Payment Method",
- "Type": "GetParticipantInput",
- "Transitions": {
- "NextAction": "Method Input Not Recognized",
- "Conditions": [
- {
- "NextAction": "Set Payment Method to Card",
- "Condition": {
- "Operator": "Equals",
- "Operands": ["1"]
- }
- },
- {
- "NextAction": "Set Payment Method to Bank",
- "Condition": {
- "Operator": "Equals",
- "Operands": ["2"]
- }
- }
- ],
- "Errors": [
- {
- "NextAction": "Payment Method Timeout",
- "ErrorType": "InputTimeLimitExceeded"
- },
- {
- "NextAction": "Method Input Not Recognized",
- "ErrorType": "NoMatchingCondition"
- },
- {
- "NextAction": "Method Input Not Recognized",
- "ErrorType": "NoMatchingError"
- }
- ]
- }
- },
{
"Parameters": {
"ComparisonValue": "$.Attributes.PaymentMethod"
@@ -1524,25 +1482,6 @@
]
}
},
- {
- "Parameters": {
- "Attributes": {
- "PaymentMethod": "Card"
- },
- "TargetContact": "Current"
- },
- "Identifier": "Set Payment Method to Card",
- "Type": "UpdateContactAttributes",
- "Transitions": {
- "NextAction": "Get & Encrypt Card Number",
- "Errors": [
- {
- "NextAction": "Get & Encrypt Card Number",
- "ErrorType": "NoMatchingError"
- }
- ]
- }
- },
{
"Parameters": {
"Text": "\n>\" rate=\"<>\">\nAre you still there?\n\n"
@@ -2436,37 +2375,6 @@
]
}
},
- {
- "Parameters": {
- "StoreInput": "True",
- "InputTimeLimitSeconds": "10",
- "Text": "\n>\" rate=\"<>\">\nPlease enter your card number followed by the pound key when complete.\n\n",
- "DTMFConfiguration": {
- "DisableCancelKey": "False",
- "InputTerminationSequence": "#"
- },
- "InputValidation": {
- "CustomValidation": {
- "MaximumLength": "25"
- }
- },
- "InputEncryption": {
- "EncryptionKeyId": "<>",
- "Key": "<>"
- }
- },
- "Identifier": "Get & Encrypt Card Number",
- "Type": "GetParticipantInput",
- "Transitions": {
- "NextAction": "Card Number Timeout Check",
- "Errors": [
- {
- "NextAction": "Internal Error",
- "ErrorType": "NoMatchingError"
- }
- ]
- }
- },
{
"Parameters": {
"Attributes": {
@@ -2580,47 +2488,6 @@
]
}
},
- {
- "Parameters": {
- "Text": "\n>\" rate=\"<>\">\nThe payment failed because of the following error:\n\n$.External.Error\n\n"
- },
- "Identifier": "Speak Validation Error",
- "Type": "MessageParticipant",
- "Transitions": {
- "NextAction": "Remove Failed Payment Token and Method",
- "Errors": [
- {
- "NextAction": "Remove Failed Payment Token and Method",
- "ErrorType": "NoMatchingError"
- }
- ]
- }
- },
- {
- "Parameters": {
- "ComparisonValue": "$.External.Error"
- },
- "Identifier": "Check for Tokenize Error",
- "Type": "Compare",
- "Transitions": {
- "NextAction": "Speak Validation Error",
- "Conditions": [
- {
- "NextAction": "Record Token",
- "Condition": {
- "Operator": "Equals",
- "Operands": ["NULL"]
- }
- }
- ],
- "Errors": [
- {
- "NextAction": "Speak Validation Error",
- "ErrorType": "NoMatchingCondition"
- }
- ]
- }
- },
{
"Parameters": {
"Text": "\n>\" rate=\"<>\">\nYour payment was processed successfully.\n\n"
@@ -2710,6 +2577,47 @@
]
}
},
+ {
+ "Parameters": {
+ "ComparisonValue": "$.External.Error"
+ },
+ "Identifier": "Check for Tokenize Error",
+ "Type": "Compare",
+ "Transitions": {
+ "NextAction": "Speak Validation Error",
+ "Conditions": [
+ {
+ "NextAction": "Record Token",
+ "Condition": {
+ "Operator": "Equals",
+ "Operands": ["NULL"]
+ }
+ }
+ ],
+ "Errors": [
+ {
+ "NextAction": "Speak Validation Error",
+ "ErrorType": "NoMatchingCondition"
+ }
+ ]
+ }
+ },
+ {
+ "Parameters": {
+ "Text": "\n>\" rate=\"<>\">\nThe payment failed because of the following error:\n\n$.External.Error\n\n"
+ },
+ "Identifier": "Speak Validation Error",
+ "Type": "MessageParticipant",
+ "Transitions": {
+ "NextAction": "Remove Failed Payment Token and Method",
+ "Errors": [
+ {
+ "NextAction": "Remove Failed Payment Token and Method",
+ "ErrorType": "NoMatchingError"
+ }
+ ]
+ }
+ },
{
"Parameters": {
"StoreInput": "False",
@@ -2838,6 +2746,98 @@
]
}
},
+ {
+ "Parameters": {
+ "StoreInput": "False",
+ "InputTimeLimitSeconds": "5",
+ "Text": "\n>\" rate=\"<>\">\nTo pay with a credit or debit card, press 1.\nTo pay directly with your bank account, press 2.\n\n"
+ },
+ "Identifier": "Ask for Payment Method",
+ "Type": "GetParticipantInput",
+ "Transitions": {
+ "NextAction": "Method Input Not Recognized",
+ "Conditions": [
+ {
+ "NextAction": "Set Payment Method to Card",
+ "Condition": {
+ "Operator": "Equals",
+ "Operands": ["1"]
+ }
+ },
+ {
+ "NextAction": "Set Payment Method to Bank",
+ "Condition": {
+ "Operator": "Equals",
+ "Operands": ["2"]
+ }
+ }
+ ],
+ "Errors": [
+ {
+ "NextAction": "Payment Method Timeout",
+ "ErrorType": "InputTimeLimitExceeded"
+ },
+ {
+ "NextAction": "Method Input Not Recognized",
+ "ErrorType": "NoMatchingCondition"
+ },
+ {
+ "NextAction": "Method Input Not Recognized",
+ "ErrorType": "NoMatchingError"
+ }
+ ]
+ }
+ },
+ {
+ "Parameters": {
+ "StoreInput": "True",
+ "InputTimeLimitSeconds": "10",
+ "Text": "\n>\" rate=\"<>\">\nPlease enter your card number followed by the pound key when complete.\n\n",
+ "DTMFConfiguration": {
+ "DisableCancelKey": "False",
+ "InputTerminationSequence": "#"
+ },
+ "InputValidation": {
+ "CustomValidation": {
+ "MaximumLength": "25"
+ }
+ },
+ "InputEncryption": {
+ "EncryptionKeyId": "<>",
+ "Key": "<>"
+ }
+ },
+ "Identifier": "Get & Encrypt Card Number",
+ "Type": "GetParticipantInput",
+ "Transitions": {
+ "NextAction": "Card Number Timeout Check",
+ "Errors": [
+ {
+ "NextAction": "Internal Error",
+ "ErrorType": "NoMatchingError"
+ }
+ ]
+ }
+ },
+ {
+ "Parameters": {
+ "Attributes": {
+ "PaymentMethod": "Card"
+ },
+ "TargetContact": "Current"
+ },
+ "Identifier": "Set Payment Method to Card",
+ "Type": "UpdateContactAttributes",
+ "Transitions": {
+ "NextAction": "Get & Encrypt Card Number",
+ "Errors": [
+ {
+ "NextAction": "Get & Encrypt Card Number",
+ "ErrorType": "NoMatchingError"
+ }
+ ]
+ }
+ },
{
"Parameters": {
"Attributes": {
@@ -2880,7 +2880,7 @@
},
{
"Parameters": {
- "Text": "\n>\" rate=\"<>\">\nThe payment failed to submit because of an unknown error.\n\n"
+ "Text": "\n>\" rate=\"<>\">\nWe’re unable to confirm if your payment was processed. Please check your $.Attributes.PaymentMethod statement to verify.\n\n"
},
"Identifier": "Speak Payment Submission Unknown Error",
"Type": "MessageParticipant",