Drupal

A scalable, open platform for web content management and digital experiences.

This integration method is done with the plugin developed by third party. You can find the plugin there with some extra info:

https://drupal.org/project/commerce_post_affiliate_pro