Laravel中的条带化多供应商支付网关 [英] Stripe multi vendor payment gateway in Laravel

查看:62
本文介绍了Laravel中的条带化多供应商支付网关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个网站,该网站能够在网站内买卖产品.用户可以发布产品并从他人那里购买产品.唯一剩下的就是与支付网关集成.我将使用Stripe作为支付网关.可以用条纹做到这一点吗?哪个是实现此目的的最佳方法?该网站建立在Laravel 5.4中.

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.

推荐答案

是的,您可以使用Stripe.利用Laravel Cashier的优势.他们已经实现了一些可以重用的逻辑.

Yes, you can use Stripe for that. Taking advantage of Laravel Cashier. They've already implemented some logic that you can reuse.

第二,您想支付卖家"费用,是的,Stripe做到了.请检查Stripe COnnect,这对于您要尝试执行的操作非常有用.链接: https://stripe.com/connect

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. Link: https://stripe.com/connect

此链接专门显示了如何向用户收费并保持一些费用: https://stripe.com/docs/recipes/store-builder

This link shows specifically how to charge the user and keep some fees: https://stripe.com/docs/recipes/store-builder

如果您遵循Cashier的所有文档,则一切顺利.链接: https://laravel.com/docs/5.4/billing

If you follow all the documentation from Cashier, you are good to go. Link: https://laravel.com/docs/5.4/billing

这篇关于Laravel中的条带化多供应商支付网关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆