Stripe integration

I want to implement Stripe, but I don't want to use it for subscriptions. On my website, there will be a place where I will gather the user's payment method information, and I want to store it in my database so that I won't have to ask the user again for their information. I want to store the user's information because I'll need it to instantly charge them in one of my website's features, but I don't want the user to have to provide their information every time they are charged. If you have any ideas on how I could do this or where I could learn how to do it, let me know. Any help is much appreciated.
2 Replies
Sturlen
Sturlen9mo ago
Services like Stripe specialize in doing this exact thing and have their own system for remembering payment info. Rolling your own is massive risk both to you and your customers. If want to know just how complicated this can be to do correctly, look up the PCI-DSS standard. It's only a little over 300 pages long. https://www.pcisecuritystandards.org/document_library/?category=pcidss&document=pci_dss
mobeenx
PCI Security Standards Council
Document Library
A global forum that brings together payments industry stakeholders to develop and drive adoption of data security standards and resources for safe payments.
Jay
Jay8mo ago
Seconding what @Sturlen said that it's not a good idea to store the payment info on your db. Also stripe allows you to do so without having to store the payment info in your db. You can look into https://docs.stripe.com/payments/save-and-reuse for more details on how to do so with stripe.
Set up future payments
Learn how to save payment details and charge your customers later.
Want results from more Discord servers?
Add your server