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

Coder108's avatar

Registration, Billing, Emails - Where does it all go!

I'm currently building an application, as with most applications the first step for the user is registration.

When they register the following needs to happen:

1 - Create a Company Model 2 - Create the Users Model and associate it with the Company 3 - Create a monthly subscription on stripe via cashier 4 - Send a welcome email to the User

All the code works great! But takes a few seconds to execute and I want to respond to the user quicker.

My plan is to create the company and user then que a job to take care of the subscription and email. However, what happens if the card fails a security check!

How would you go about implementing a similar registration process?

All input appreciated!

0 likes
0 replies

Please or to participate in this conversation.