-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Openes of Wallet for other transaction engines #12
Comments
Hello lucode, Yes indeed, integration of the marketplace with the payment module of Odoo is a concern for everyone but we are not sure how we'll do it. Let remind here the different mode we have : -External currency(external currency set to on), the transaction is done outside of the system. Let's say Fred send you 200€, here is your balance at each state : -Now an official currency but managed inside the system. For example € with external currency set to off and with bottom limit set to 0 (which mean you can't have a negative balance) All described here is how account_wallet and marketplace works. Also one more information, to compute balance I check the balance of some accounting account, like 411 in France for € and a specific account I created for COM. All of this is fully configurable. Now how can we improve it : -For cryptocurrency, the question is : does the money go through the bank account of the community. If yes, it's the same case than third. I'm not an expert with cryptocurrency, but I think it's a good starting point. |
Hi Lucas, Your suggestion sounds really powerfull and I assume that Yannick was aiming also the same goal. I understood that today you can already have multiple balance for multiple currencies in the wallet. And so far they are all used by OCE. But Yannick write about a deeper integration of other "payment" engine. This means to me that during an transaction payment engine will bypass the OCE. If we extend this process to certified transaction engine then I think this next step will filled your expectation ? |
Hi Florent, |
Wouah Lucas, thank you for the diagram. It is amazing and I think we should do it. |
Hello Lucas, I think we are already on a flexible enough base and everything, from the transaction engine to the Cyclos/Ripple/etc API can already communicate between them. This base is the accounting itself. To compute the balance for each member for a specific currency, I simply take the balance for this member of the account "availability" defined in the currency configuration. This way, any feature which create an account move can modify the balance of a member. A transaction in account_wallet simply take an amount from the availabily account from a member to move it in the availabily account of another member. We plan soon to create a specific product for the native ecommerce module which will be linked to this availabily account. This way when you buy this product on the ecommerce through paypal for exemple, it will automatically credit your availability balance. I can do it very easily because I just have to create the good account move and the ecommerce module can do it with very simple configuration. For your need it will be same. Just create your currency in the system, cyclos, ripple, etc... and create a connector which at the transaction will create the account move needed to update the balance of the member. What do you think? |
From this perspective you are possibly right, but I can't really imagine how cryptocurrencies, for example, would really fit in the existent framework. But I can understand now the concept a bit better and I think it is a very good start. It would be necessary to have asap a proof of concept for Ripple or OT to really get a picture how it could be done. I will try to challenge some people from the crypto scene to take over such a task. |
Great! We're looking forward to it, we know we have a great potential and synergies with cryptocurrencies but we don't know exactly how yet. Feedback and ideas from crypto passionnates will be really interesting I think. |
Hi,
Me and other would highly appreciate if the Wallet and the Marketplace would have an open design to implement payment gateways and clients for other transaction engines. The favorite ones are Ripple and Opentransactions.
If possible the payment gateway model of odoo itself should be enhanced with crypto and community currencies plugins: https://github.com/odoo/odoo/tree/8.0/addons/payment
Then payments could be get done for the odoo shop and the marketplace.
Also the Wallet should have a design that splits the module for the wallet itself and the different clients for other transaction engines. To distinguish between the modules for the wallet and the odoo build in transaction engine, it would be helpful to find a name for this. Something as OCE (Odoo Community Exchange) could fit. Then we would have client modules for OCE, OT and Ripple for instance.
The text was updated successfully, but these errors were encountered: