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

jeevamugunthan's avatar

google pay api integration

hello everyone , im using laravel in my project there is one superadmin and multiple master admin and multiple user for each marster admin, but i didnt use subdomain for each user there is only one domain for all users.

in this i want to make payment gateway for each marster admin and their user, is it possible anyone please tell me if its not possible, is there any other way to implement this

0 likes
3 replies
prasadchinwal5's avatar

@jeevamugunthan I think i do not understand your situation. If I got this right, Why do you want to make payment gateway for each master admin and their user?

All you should be wanting for master admins and their users to use the payment gateway. If this is needed it is totally doable.

jeevamugunthan's avatar

@prasadchinwal5 this is one apartment app i'm the super admin i give access to master admin the master admin is apartment holder and the users is flat users ok.

in this some payments will transation with the master admin and flat users for example maintenance charges like that , there is multiple apartments so how i implement gateway for each apartment this my question, this is possible...?

prasadchinwal5's avatar

@jeevamugunthan Got it. So let me try to explain this. If I was doing the project I would add the maintenance charges etc. to database. Also I am assuming there would be a recurring charge ex. Rent for the user to pay.

These charges stay in db too. So when you show the user the screen with charges, display all these charges and total them up for final amount the user should pay. Now you can use the Payment gateway class for completing transaction.

Hope this helps.

Please or to participate in this conversation.