Laravel

Paid booking system

Hi @alex

Thanks for all your courses, I find them very helpful.

I’m following the course how to create a booking system with la ravel and inertia.

I need to create a system where vendors can sell their service and we get a commission paid.

So for example, vendor insert a service under a specific category and also set the price and availability, the client then will find all the services close to his location, book the service time slot with the vendor and pays for it, after that the vendor gets paid and we get a commission.

Do you think this can be integrated with the settings you explain in your course?

Many thanks Vincenzo

vincenzo
vincenzo
0
4
75
alex
alex
Moderator

Hey Vincenzo.

Yes, this could be integrated into that booking system. The first thing I'd do is take the time to fully understand the core functionality in the course if you haven't already — this will give you a good grounding into how to generate slots, remove availability etc.

After that, it'll pretty much be a case of:

  1. Setting up an admin panel to insert the data (Filament would work nicely here for this)
  2. On booking, you'd need an additional step to capture a payment. I have courses on this, so let me know if you need pointing to one if you need help
  3. Either separately log the payment/commission, or use Stripe Connect. The first option is easier, but would require manual payouts. With Stripe Connect, the vendor automatically gets paid a cut.

Relevant courses:

Let me know if you need any more help — happy to keep this discussion going and answer any questions you have!

vincenzo
vincenzo

Hi Alex

Thanks for your answer, I will have a look at the other courses you suggested.

I'm practicing on the booking course to get a better understanding of the slots and availability.

The only problem I have is how to structure the database for each single vendor to set up his price for a specific service instead of having the same service price for everybody.

I'm thinking of adding the price inside the employee_service pivot table instea of using the service table? Then maybe in this way each vendor can set up a specific price for a specific service?

After this then I will have a look at your courses for the payments.

Many thanks for any help

alex
alex
Moderator

I'm thinking of adding the price inside the employee_service pivot table instea of using the service table? Then maybe in this way each vendor can set up a specific price for a specific service?

That would make sense for this scenario I think! As always, I'd recommend giving it a go, and then swapping it around if needed.

Let me know how you get on with the courses, and I'll be here to advise if you need anything else!

vincenzo
vincenzo

Thank you. I’ll try and come back here if I need more support.

Thanks for now 😃