{"action":"created","issue":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/719","labels_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/719/labels{/name}","comments_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/719/comments","events_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/719/events","html_url":"https://github.com/affiliatewp/AffiliateWP/issues/719","id":86358112,"number":719,"title":"Recurring Referrals Integration for 'WC Auto-Ship'","user":{"login":"clickstudio","id":12619469,"avatar_url":"https://avatars.githubusercontent.com/u/12619469?v=3","gravatar_id":"","url":"https://api.github.com/users/clickstudio","html_url":"https://github.com/clickstudio","followers_url":"https://api.github.com/users/clickstudio/followers","following_url":"https://api.github.com/users/clickstudio/following{/other_user}","gists_url":"https://api.github.com/users/clickstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/clickstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clickstudio/subscriptions","organizations_url":"https://api.github.com/users/clickstudio/orgs","repos_url":"https://api.github.com/users/clickstudio/repos","events_url":"https://api.github.com/users/clickstudio/events{/privacy}","received_events_url":"https://api.github.com/users/clickstudio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-06-08T22:38:26Z","updated_at":"2015-06-16T23:55:02Z","closed_at":null,"body":"I would like to add an integration for 'WC Auto-Ship' to your recurring referrals add on.\r\nhttps://wooautoship.com/\r\n\r\nIt should be very straight forward using the following hook which fires after a successful order has been created from a schedule.\r\n\r\ndo_action( 'wc_autoship_payment_complete', $order_id, $schedule_id );\r\n\r\nI have emailed Jon (developer) the link to this thread so he will be able to confirm this and add his thoughts.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/comments/112605615","html_url":"https://github.com/affiliatewp/AffiliateWP/issues/719#issuecomment-112605615","issue_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/719","id":112605615,"user":{"login":"clickstudio","id":12619469,"avatar_url":"https://avatars.githubusercontent.com/u/12619469?v=3","gravatar_id":"","url":"https://api.github.com/users/clickstudio","html_url":"https://github.com/clickstudio","followers_url":"https://api.github.com/users/clickstudio/followers","following_url":"https://api.github.com/users/clickstudio/following{/other_user}","gists_url":"https://api.github.com/users/clickstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/clickstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clickstudio/subscriptions","organizations_url":"https://api.github.com/users/clickstudio/orgs","repos_url":"https://api.github.com/users/clickstudio/repos","events_url":"https://api.github.com/users/clickstudio/events{/privacy}","received_events_url":"https://api.github.com/users/clickstudio/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T23:55:02Z","updated_at":"2015-06-16T23:55:02Z","body":"Is there a particular reason why lifetime commissions requires the order to be completed before setting the affiliate info ?\r\n\r\nThere's a real chance that customers could create a second order before the first has been completed.\r\n\r\nThe 'Processing' order status is set once an order is fully paid so IMO it should be set at that time.\r\nWouldn't it also make sense to set the lifetime affiliate info prior to any order being placed ?"}}