Components
Cards Component
Use the Card Component to collect card information from the customer
There are four card components as listed below:
cardNumber
A component to accept card number.
Returned Value
You can get the value of a component by callingcomponent.data().value
. All returned
values of component.data()
can be found here
cardHolder
A component to accept card holder’s name. You can pass values to a component using options cashfree.create(‘componentName’, options)
Returned Value
You can get the value of a component by callingcomponent.data().value
. All returned
values of component.data()
can be found here
cardExpiry
A component to accept card expiry. This component does not accept any parameters.
Returned Value
You can get the value of a component by callingcomponent.data().value
. All returned
values of component.data()
can be found here
cardCvv
A component to accept card cvv/cvc. This component does not accept any parameters.
Returned Value
This is a secure field and you cannot get values from this field.Was this page helpful?