Development Plugins WooCommerce Wordpress

How can an user become an Affiliate buying a product subscription in woocommerce? [closed]

I am using affiliateWP as my affiliate plugin on my Woocommerce store. I want the user to subscribe for a plan(Gold/Silver/Bronze). For the plans I’m using Woocommerce Subscription plugin. When the user get´s any of these 3 plans he will become an affiliate user of the site. I don’t want the user to register on […]