Credit card CVV collection prebuilt component

The credit card CVV collection prebuilt component captures a three or four-digit CVV (Card Verification Value) code.

Limitations

In addition to the common prebuilt component limitations, this prebuilt component has the following limitations:

  • Payment gateway integration is not included in this component.
  • CVVs shorter than three or longer than four digits are not accepted.

Additional functionalities

The following additional functionalities are provided by this prebuilt component:

Enable DTMF to allow users to input numeric values using the telephone keypad.

Sample dialogs

The following sample dialogs demonstrate common scenarios handled by this prebuilt component. The sample dialogs demonstrate behavior when the component is called via telephony, which triggers the Default Welcome Intent and the first agent response at the start of the conversation.

Valid CVV

End-user provides a three to four digit CVV and the component accepts it.

User input Agent response
Please say or enter the 3 or 4 digit CVV present on your card.
3434
You mentioned the CVV is 3434, is that correct?
yes
Great, I'm done with collecting the CVV.

Retries

End-user provides a three to four digit CVV in the third attempt and the component accepts it.

User input Agent response
Please say or enter the 3 or 4 digit CVV present on your card.
45
I heard 45. which is not a valid 3 or 4 digit CVV code.

Please say or enter the 3 or 4 digit CVV present on your card.
34
I heard 34. which is not a valid 3 or 4 digit CVV code.

Please say or enter the 3 or 4 digit CVV present on your card.
3434
You mentioned the CVV is 3434, is that correct?
yes
Great, I'm done with collecting the CVV.

Unrecognized input

Component exits the flow when the end-user provides unrecognized input three times.

User input Agent response
Please say or enter the 3 or 4 digit CVV present on your card.
It's fine
Sorry, I didn't get that. Can you please say or enter the 3 or 4 digit CVV present on your card again?
It's fine
Hmm, I still wasn't able to get that. Please make sure you're saying or using your keypad to enter the 3 or 4 digit CVV present on your card.
It's fine
Sorry, I'm having difficulty understanding your response.

Naming conventions

This prebuilt component uses the following naming conventions:

Feature Format Example
Flow [Component Name] CVV Collection
Component Specific Intent prebuiltcomponents[componentname][intent_name] prebuilt_components_cvv_collect_cvv
Parameter [param_name] cvv_code

Output parameters

Output parameters are session parameters that will remain active after exiting the component. These parameters contain important information collected by the component. This prebuilt component provides values for the following output parameters:

Parameter Name Description Output Format
cvv_collection_cvv This parameter returns the CVV captured by the component string

Basic setup

To set up this prebuilt component:

  1. Import the prebuilt component.

Complete

Your agent should now be set up and ready to test.