Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can a vendor have its own gateway payment? #154

Open
giugrilli opened this issue Dec 3, 2020 · 1 comment
Open

Can a vendor have its own gateway payment? #154

giugrilli opened this issue Dec 3, 2020 · 1 comment

Comments

@giugrilli
Copy link

What I am trying to accomplish is to enable vendors have their own payment mechanism (for ex. stripe), set up their own stripe keys, and then the admin tracks the order fees (which is already possible via OrderCommission).

But I don't understand why there is the possibility to track the order commissions without having a personal payment gateway per vendor. So the vendors autonomously manage payments that get to their own payment gateway account, but then the admin bills the vendor monthly, by tracking the order commissions.

Am I missing something?

@nawealvarez
Copy link

nawealvarez commented Jan 21, 2021

Well I had the same problem in a project what I'm working on. The solution was to create a temporal class, but I change the cart a little bit. Now I have a sub-cart for each vendor. And then, I make a temporal class called PendingLineItem, for save the products of the vendors that I don't want to do the checkout flow. After all a new order will be created with the pending line items inside. It's not the best solution but works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants