Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jrdavidson's avatar

Stripe and Cashier new subscription

I'm helping build an application with Cashier and Stripe that upon registering the user must put in their personal info like name, address, etc on the first screen. After they submit that form they are redirected to a membership plan page where they must choose their plan they want to sign up for. After submitting that plan form they are redirected to a payment information page, then after a submission of that form redirected to billing information page.

The problem I'm trying to figure out is after they submit which plan I need to create a new subscription but according to the docs you need a payment method to do that.

0 likes
4 replies
jlrdw's avatar

I would say no problem with session, used in shopping carts often, but I would forget those values as soon as you don't need them anymore.

martinbean's avatar

@jrdavidson Can you store the selected subscription plan in the session? Then when the user completes their billing information, create the subscription using the capture payment details for the plan stored in the session.

Please or to participate in this conversation.