Add user to Organic group after commerce product order with rules
I was able to do this finally by tweaking the tutorial posted on this site: http://s1l.org/selling-access-organic-groups-drupal-commerce. I removed the loop in the components since my field only takes one value and I removed the condition to check if the order has been paid and now it's working.