question

chrispetchey avatar image
chrispetchey asked chrispetchey commented

iframe integration CARD_STREET_ADDRESS

I've added CARD_STREET_ADDRESS to the Iframe integration sample in the clover docs.

The CARD_STREET_ADDRESS seems to be mandatory since if my user doesnt type in a value, the createToken method returns a null result, but there doesnt seem to be any validation or error message

ecommerce
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
bryanvargas avatar image
bryanvargas answered chrispetchey commented

if the merchant has AVS fraud rules enabled and backend says that the street address provided is wrong the charge will fail

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

chrispetchey avatar image chrispetchey commented ·

Yes. In this document: https://docs.clover.com/docs/using-the-clover-hosted-iframe

the call to clover.createToken() returns a null result if the address doesnt meet the requirements.

I was expecting something similar to the validation of the card number, that is to say, a result object with an errors object with "CARD_NUMBER" set to a string representing the reason for the validation failure.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community