setting affiliates payment amount


How can i set the payment amount based on % for all affiliates sales?
I'm using woocommerce and was wondering if there is an integration between the tow.
also, please advise if without automatic integration i need to set the payment amount manually.
how does the plugin identify sales completed with woocommerce?

Please advise,