Jerome wrote: Hi,
I don't know what you want to do.
But in "commission" mode, you generates a invoice which should be paid by the vendor, as you asked in the first page of this thread.
I would pay the vendor as I do in "fee mode" but at same time generate an invoice for the vendor and not for the buyer.
This could seems illogical but isn't it. I try to explain why that the only solution till hikamarket cannot work using paypal adaptive plugin and so vendors will be directly payed by customers and store only receive a fee from the vendor.
The correct fiscal path for me should be this: customer pay vendor then vendor pay me. I do not sell, vendor sell, I just earn something from the vendor.
That's impossible at the moment, so the only solution is that customer pay the store, then the store give money to vendor. This is the fee mode. ok.
Than, I must take a fee (commission) from the vendor. This is like if vendor pay me for this service, so I must generate and invoice for the vendor about this fee (commission).
That's why I asked you to implement a feature to generate an invoice when I "pay" the vendor, 'cause in reality I do not pay the vendor, is the vendor that pay me my fee. I just send him his money, I do not pay him! He pays me. So I must generate an invoice to him.
Now, the only solution is to use the fee mode (paypal adaptive not possible yet) and when I "pay" (meaning I send money to vendor minus the fee) I want to generate an invoice to the vendor for the fee he payed me.
Actually the fee mode works fine for me. I just need to generate an invoice to vendor and not to customer. If I generate the invoice for the customer it means that I sell something, but I do not sell something, is the vendor that sell (and he will generate manually an invoice to customer if he wants...) the store do not sell in my case so I just want to send money to vendor taking my fee and generate an invoice to him for the fee.
customer => pay using the store => I send money (total price minus fee) to vendor clicking on the "Pay Vendor" button => store keep a fee:
that's equivalent to vendor pay me => I must generate and invoice to vendor for this fee he payed me.
Hope you can "fuse" the fee mode and the commission mode to generate a fee mode that can generate the invoice to vendor.
Thanks