Re: Credit card name validation

Solved! Go to solution
MikeyB
Helper

Credit card name validation

I am trying to validate the name field when payments are being made by credit card.  Anyone know what the REGEX string should be for this?

Or, what are the acceptable characters:

I think apostrophe, hypen.  Not sure about period.  Anything else I should expect to see on card names?

 

 

TIA,

MikeyB

 

 

11 REPLIES 11
API_Products
Visa Developer Support Specialist

Re: Credit card name validation

Hi @MikeyB,

 

VCO allows the following format. For more details, refer to Visa Checkout Integration Guide here - https://developer.visa.com/images2/products/visa_checkout/VisaCheckoutMerchantDocs.zip

 

VCO firstname lastname description.png

 

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

MikeyB
Helper

Re: Credit card name validation

Thanks Diana,

 

My problems are solved. For anyone reading this, be careful, there are 5 types of apostrophe to consider in validation !!

 

MikeyB
Helper

Re: Credit card name validation

 .

API_Products
Visa Developer Support Specialist

Re: Credit card name validation

Hi @MikeyB,

 

I'd like to follow up with you and ask you a couple of more questions so that I could provide you with further assistance.

 

  1. Are you trying to implement Visa Checkout? Or what API are you interested in using for your business project? Please check our website for specific APIs relevant to your business case.
    https://developer.visa.com/  
    https://developer.visa.com/apibrowser   
  2. What region are you testing? Is it within the US or non-US?               

If you are interested in using VCO, please see the attached VCO integration guide (VisaCheckoutIntegrationGuideV1901.pdf) and refer to page 81 - User Data.

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: Credit card name validation

Hi @MikeyB,

 

Also, when using the Visa Checkout API:

 

DR. JOE O'HARA-SMITH would be acceptable as a name, with no diacritics. For example, the name JOSÉ GONZÁLEZ would be written on a credit card as JOSE GONZALEZ, with no diacritics.

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

MikeyB
Helper

Re: Credit card name validation

Hi,

 

We are handling OFFLINE payments in this project.  VCO doesn't work in this case.

(Both links are dead)

 

Rgds,

Mike

API_Products
Visa Developer Support Specialist

Re: Credit card name validation

Hi @MikeyB,

 

Can you please provide more details to your use case so that I can provide you with further assistance. What are you trying to do with offline payments and what type of offline payments are you trying to do?

 

Per your use case thus far, I'm thinking CyberSource Payments could be a good fit. Since that's the case, please give CyberSource Support a phone call using the phone number provided below and someone will be able to help answer your questions.                             

 

CyberSource Support
800-709-7779

 

For information on CyberSource Payments, you can go here - https://developer.visa.com/capabilities/cybersource

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: Credit card name validation

Hi MikeyB,

 

To follow up, with the CyberSource Payments API you can run tests offline. To further explain, you can run test transactions, like if you have an evaluation account with CyberSource then you can use test credit cards to see how the system works even while you are offline.

 

In addition to that, CyberSource also offers an Offline Batch Upload process and an Offline Transaction File Submission.

 

For more information, please call CyberSource Support at CyberSource 800-709-7779.

 

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Tony234
Newbie

Re: Credit card name validation

How can i Validate my Visa Credit Card Name? 

I am making a paypal account and i have visa card.

I want to pay digitalocean  for website.

I can't handle it. Do you have any solution?