Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Using Infopath to validate Credit card data

  Asked By: Iesha    Date: Dec 22    Category: Sharepoint 2010    Views: 1390

Has anyone used InfoPath forms to validate credit card data?
If so, how did you go about doing it? I know about the Luhn code.

Any ideas would be most appreciated.



4 Answers Found

Answer #1    Answered By: Shasta Fry     Answered On: Dec 22

It probably is possible but it would need to be PCI complaint.
Since PCI compliance is very expensive, no one is going to give it to you for

Answer #2    Answered By: Bharat Uppin     Answered On: Dec 22

I did just find a MS site that describes how to go about it but the code is
beyond my expertise at the moment. However, it does use the LUHN algorithm
which is in the public domain. So, all you have to do is create a Jscipt code
using the LUHN algorithm. The algorithm is not hard to understand, and can
actually work in Excell if you put the math together.

I need a Jscript that can be imported into the InfoPath form and I'm sure it
will work.

Answer #3    Answered By: Nagendra Dwivedi     Answered On: Dec 22

Is this client or server JScript?

Answer #4    Answered By: Tammie Fulton     Answered On: Dec 22

Server Jscript.
I also found out that if you are using the browser form you can't use Jscript.
So I'm back to looking at another angle.

Didn't find what you were looking for? Find more on Using Infopath to validate Credit card data Or get search suggestion and latest updates.