I’m building website that is able to sell and buy product inside the website.
Users can post product and buy product from others.
Only remain thing is to integrate with payment gateway.
I’m going to use stripe for payment gateway.
Is it possible to do that with stripe?
Which is the best way to implement this?
The website was built in Laravel 5.4.
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Yes, you can use Stripe for that. Taking advantage of Laravel Cashier. They’ve already implemented some logic that you can reuse.
Second, you want to pay ‘sellers’, yes, Stripe does that. Please check Stripe COnnect, which is great for exactly what you are trying to do.
This link shows specifically how to charge the user and keep some fees: https://stripe.com/docs/recipes/store-builder
If you follow all the documentation from Cashier, you are good to go.