Skip to main content

Custom payment for affiliates

More
14 years 3 months ago #55295 by mohamed
How can I access the api for affiliated payment, specifically I need to be able to manually pay out affiliates and have that payout affect their balances in the database. so I will need a way to manipulate the amount paid value from the backend.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #55367 by nicolas
You can already validate the payment of the full amount of the affiliate commissions on the affiliate's user edition page, thanks to the small icon next to the total of the commissions.

There is no API to pay partial amounts of commissions. The way the system works is that each order has a commission, the id of the partner, and a paid flag which is set to 0 by default. So HikaShop displays the aggregate of all the not paid commissions of the partner.
When you pay the commissions via the interface of HikaShop, it switch the paid flag of all the orders of the partner.

Please Log in or Create an account to join the conversation.

Time to create page: 0.199 seconds
Powered by Kunena Forum