Earlier quoted context omitted.
I worked on something with credit card processing a few years ago. As I remember, it doesn't really matter if the details hit your server, but the point is you absolutely can not save them. No putting them in a DB, no putting the in a log file (not even the last four or something like that), nothing. So if your form takes the numbers in, you make an API call, and then you blank them in memory you were OK. If you put…
Please read stripe's TOS - your application is REQUIRED to be PCI compliant.
This is by no means my area of expertise (as I have accidentally proven).