Answer the question
In order to leave comments, you need to log in
How to store bank card numbers on the server?
Please suggest solutions. I understand that it does not pose a particular danger, but I want to approach this wisely.
At the same time, it will be necessary to send this data, and not necessarily to the cardholder.
Answer the question
In order to leave comments, you need to log in
What did I do wrong in this example?
import React, { useState } from "react";
const initialState = [
{ id: 1, name: 'Moscow' },
{ id: 2, name: 'Kazan' },
{ id: 3, name: 'Sochi' },
{ id: 4, name: 'Ekaterinburg' },
];
const App = () => {
const [ cities, setCities ] = useState(initialState);
const handler = () => {
setCities(prevState => [...prevState, { id: 5, name: 'Saint-Petersburg' }]);
};
return (
<div>
<button onClick={handler}>Click Me</button>
<ul>
{cities.map(city => <li key={city.id}>{city.name}</li>)}
</ul>
</div>
);
};
export default App;
do not store in any way, provide acquiring to banks.
Based on the fact that you are asking such a question, this data is guaranteed to be stolen from you.
Please follow the PCI DSS . Is the suitcase of money for certification ready?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question