This question already has an answer here:
What is the industry standard for sharing credit card data between client (thin & thick) and server?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Not sure why he didn't put it as an answer, but John Downey is correct, the PCI-DSS is what you are looking for. It is the industry standard for protection of PCI (credit card details) in transit and at rest (in storage).