How can to integrate the registration affiliate form with woocommerce

How can to integrate the registration affiliate form with woocommerce checkout cart with one submit button. I set up in the plugin that user must pay to become an affiliate and setup the product in woocommerce.