News:

Support the VirtueMart project and become a member

Main Menu

CC Validation

Started by aeiweb, December 03, 2012, 16:26:29 PM

Previous topic - Next topic

aeiweb

Is there any way to add in CC validation in the shopper feilds? We need to make sure its a valid card number going in. It will save us a bunch of time.

Thanks in advance.


bytelord

This should be done using an SSL and you have to adjust or develop a payment plugin at your needs ... will be the worst case scenario letting your customers enter their CC information inside shopperfields ...  :o
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

aeiweb

I have SSL on the whole site, so that should do right? As far as I know that will keep things safe. Since the people at VM for reasons only known to them decided to remove offline CC transactions, this is pretty much my only option. Its very frustrating.

I just need to put something in place that will make sure the CC number put in is a valid CC number, rather than just gibberish. Is that possible?

bytelord

#3
Hello,

You could try that one i believe. http://extensions.virtuemart.net/extensions-virtuemart-2/offline-credit-card-processing-detail

As i told you is not optimal to place CC number on shopper fields, those data are not encrypted, not safe, instead of using SSL.
Alternative you could write your own plugin (you will need some PHP/Joomla Development knowledge).
Some good examples:

http://stackoverflow.com/questions/174730/what-is-the-best-way-to-validate-a-credit-card-in-php
http://www.sitepoint.com/card-validation-class-php/
http://www.pixelenvision.com/2314/php-credit-card-validation-class-using-mod-10-luhn-more/

But as i told you need some PHP knowledge


Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

aeiweb

writing my own PHP isn't really an option fo rme. Can i encrypt the information from the shoppers fields?

alatak

Hello

QuoteYou could try that one i believe. http://extensions.virtuemart.net/extensions-virtuemart-2/offline-credit-card-processing-detail
This plugin checks the validity of the credit card, and does not allow to save the information when the CC number is not valid