Intro to Stripe Payments & Subscriptions / Chapter 1 — The Big Picture of Payments (lessons 1–5) / Lesson 1

The Big Picture of Payments and Where Card Data Lives

Time needed: about 3 min (estimate)

☆ Read later

You can try the opening of this lesson without an account.

Who holds the card data

This course is the second in a series that continues "Auth and Membership → Payments → Publishing and Operations."

Here, you connect billing to the login system built in the previous course.

The single most important question in payments is who holds the card data.

The moment a card number touches your own server, you're on the hook for PCI DSS, a heavy compliance standard — not realistic to carry as a solo developer.

Member holds none of the payment details

The answer is: we don't hold it here.

Whoever signs up gets sent, in full, to Stripe's hosted screen (Checkout), and card entry happens entirely on Stripe's side.

All we do is receive "was this paid" afterward.

That's why the Member model representing a user holds none of the card number, expiry, or CVC.

All it holds is the plan's state, and IDs from Stripe's side.

Create a free account to keep reading

With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.

Report a problem with this lesson

Log in to send a report.

Keyboard shortcuts

Keys available in a lesson
KeyAction
[ or Alt + ←Go to the previous lesson
] or Alt + →Go to the next lesson
?Open this list
EscClose this list

The keys do not work while the cursor is in a code editor or an input field.