dashed-slug.net › Forums › WooCommerce Cryptocurrency Payment Gateway extension support › Withdrawals › Reply To: Withdrawals
Thank you for all the feedback. To clarify:
1. You would like vendors to be able to request their own withdrawals. I agree that the current solution is not ideal. However this issue is not easy for me to investigate. It would take too much time, and most users are interested in other things that are more urgent. As it is right now, the admin simply has to verify commissions before they are paid out, which is not a bad idea I believe.
The core issue here is that the original author of this codebase (probably before grey parrots) had intended for the vendors to maintain a ledger, and then commission payments and payouts modify that ledger. The wallets plugin has its own ledger, so the vendor has to “withdraw” balance from the wcmp ledger to the wallets ledger. There is no clear API for communicating with the WCMp ledger, so I had to hack the database for all of this to work. Not a clean solution. To make a single payment, we now have commissions, transactions, internal transfers and two completely different types of withdrawals. Very confusing.
2. You mention that there is some issue with partial refunds. Could you please open a new thread so we can track this issue? If you can, please be clear on what you tested and what you would expect to see.
You then mentioned that you think this is a WCMp bug. Did you experience a problem using other gateways besides the dashed-slug one? If you can please also provide this info in the new thread.
3. You mentioned something about cron jobs, but I did not understand what. The WCMp payment gateway is in no way related to cron jobs and does not use them. If this is a separate issue, can you please open a new thread and provide more details?
Thank you for the clarifications and for all your help with testing. I feel like we’re getting there!
Hopefully once this gateway evolves I will write a complete guide on how to set up a marketplace and more people will be using it.
with regards