A Script That Would Send Partial Form Input in separate emails or database & email.
Posted on 2010-09-06
I am looking for a solution that allows me to have a web form that requests CC details, and is also PCI Compliant.
One thought I had would be if I could have the cc# either split, or broken up into separate fields and emailed separately. I understand that this would be PCI Compliant. I would also be fine with the cc# being split between database and email. I have read of this being done, but never seen any code.
I would even be fine with a client who put in the complete number, but when the submit button was hit the majority of the number was masked so long as that was totally safe. I have no problem asking for the number at a later date if I need to actually make the charge. 99% of the time the card is used only as a means to confirm the service being purchased. The client pays at a later date. So, as I said if I don't ever see the entire card number that solution would be perfect so long as at no point their entire number is transmitted in any insecure manner.
I don't have any PHP experience at all, so the more help the better. Ideally I could see example of code that I could write into another script. If someone wants to post the entire script with that code all the better. :)
Payment gateway's are not a possibility for me because they won't deposit into bank accounts in the country I live and do business in.
One thing that is a necessity is that the majority of the data input to the form be emailed. So, I'm basically hoping to protect the cc data in the simplest way possible, which I thought would be to break it up. I'll be trashing the cc #'s once I get them. I have no need to file them.
I do have a SSL on my server.
I am completely open to other suggestions if it's easier or what I'm looking for isn't possible.
My skills are rudimentary. I taught myself to write some html and also use Dreamweaver to subsidize for what I can't code myself. I apologize if this should be in one of the other forums.