DEV Community

[Comment from a deleted post]
Collapse
 
michaelphipps profile image
Phippsy

Your question is waving a BIG RED SECURITY FLAG.

I strongly suggest you use payment systems like Stripe / Paypal to handle this for you so you never have to touch these numbers yourself. Any reputable payment provider will have libraries that handle this validation for you in a safe secure manner. Please, please, please do not make the mistake of storing these details on your server.

Collapse
 
hussein_ouda profile image
Hussein Ouda

Very good alert
Thank you

Collapse
 
hxarahman profile image
Harry james

yeah I agree with you.
There's lots of system UPI/PAYPAL/STRIPE etc. and they have documentation for usage you can follow the instructions.

Collapse
 
hussein_ouda profile image
Hussein Ouda

Can you provide me with some links?

 
michaelphipps profile image
Phippsy • Edited

I use Stripe.

Here's one of their integration guides: stripe.com/docs/checkout/integrati...

They are very developer focused, and have lots and lots of documentation with example code. If you have implementation questions, I've found their IRC channel is full of knowledgeable people. There are lots of options for contacting support here: support.stripe.com/questions/conta...

Hopefully other devs can jump in with links for other payment providers so you have more options.

 
hussein_ouda profile image
Hussein Ouda

Wonderful
I thank you