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

GimmeMylanta's avatar

User registration and Stripe cashier payment in one

Hey Guys.

Have any of you used a self-hosted stripe cashier form and user registration in one step?

I was wondering if you could outlay the steps that you used.

Im using the following, but am unsure if i am doing it right

  1. Use a try catch block to register user with an inactive status
  2. Use a try catch block to submit the payment to stripe
  3. Use a try catch block to change the user status from inactive to active

So, in this scenario i am using 3 different try catch blocks.

If anyone has done the cashier and user registration in one form, could they give me a bit of insight.

Cheers,

0 likes
0 replies

Please or to participate in this conversation.