cancel
Showing results for 
Search instead for 
Did you mean: 

ANET Hosted Form CVC validation

We have encountered another issue with the Hosted Payment Form:

 

It doesn't validate the CVC code!

 

Is there a request parameter that will enforce this validation ?

 

Thanks in advance,

 

Gabe.

ggramajo
Contributor
2 REPLIES 2

Hi @ggramajo

 

You need  to pass in the  cardCodeRequired  setting as true  for it . 

 

https://developer.authorize.net/api/reference/features/accept_hosted.html#Requesting_a_Token 

 

hostedPaymentPaymentOptions {"cardCodeRequired": false, "showCreditCard": true, "showBankAccount": true}

Determines which payment options to display on the hosted payment form. By default, cardCodeRequired is false, and showCreditCard and showBankAccount are true.

To require Card Code Verification set cardCodeRequired to true.





Send feedback at developer_feedback@authorize.net
Anurag
Moderator Moderator
Moderator

I will give it a try.

 

Thanks!