Storing Credit Card Numbers in SESSION - ways around it?

后端 未结 13 2181
独厮守ぢ
独厮守ぢ 2021-01-30 05:11

I am well aware of PCI Compliance so don\'t need an earful about storing CC numbers (and especially CVV nums) within our company database during checkout process.

Howev

13条回答
  •  梦谈多话
    2021-01-30 06:10

    There is no need for sessions or the database to hold the information.

    Every page is a form that posts the data. On each subsequent page the post variables from the previous page are added to hidden form fields so that the next form submission posts the data again. This way nothing is ever stored, but the information is carried from page to page. This also forces the user to complete the process from start to finish without attempting to skip steps.

    As long as the form is submitted over HTTPS, the data is encrypted automatically and the security burden is on your SSL certificate provider.

    Many popular commerce sites implement this. For example OSCommerce.

提交回复
热议问题