{"action":"created","issue":{"url":"https://api.github.com/repos/gemstoneit/metafit2014/issues/34","labels_url":"https://api.github.com/repos/gemstoneit/metafit2014/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/gemstoneit/metafit2014/issues/34/comments","events_url":"https://api.github.com/repos/gemstoneit/metafit2014/issues/34/events","html_url":"https://github.com/gemstoneit/metafit2014/issues/34","id":63961658,"number":34,"title":"Emails to customers when subscriptions are cancelled/suspended/failed","user":{"login":"jamiemax","id":6630957,"avatar_url":"https://avatars.githubusercontent.com/u/6630957?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiemax","html_url":"https://github.com/jamiemax","followers_url":"https://api.github.com/users/jamiemax/followers","following_url":"https://api.github.com/users/jamiemax/following{/other_user}","gists_url":"https://api.github.com/users/jamiemax/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiemax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiemax/subscriptions","organizations_url":"https://api.github.com/users/jamiemax/orgs","repos_url":"https://api.github.com/users/jamiemax/repos","events_url":"https://api.github.com/users/jamiemax/events{/privacy}","received_events_url":"https://api.github.com/users/jamiemax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Hoannv","id":1846777,"avatar_url":"https://avatars.githubusercontent.com/u/1846777?v=3","gravatar_id":"","url":"https://api.github.com/users/Hoannv","html_url":"https://github.com/Hoannv","followers_url":"https://api.github.com/users/Hoannv/followers","following_url":"https://api.github.com/users/Hoannv/following{/other_user}","gists_url":"https://api.github.com/users/Hoannv/gists{/gist_id}","starred_url":"https://api.github.com/users/Hoannv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hoannv/subscriptions","organizations_url":"https://api.github.com/users/Hoannv/orgs","repos_url":"https://api.github.com/users/Hoannv/repos","events_url":"https://api.github.com/users/Hoannv/events{/privacy}","received_events_url":"https://api.github.com/users/Hoannv/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-03-24T10:26:46Z","updated_at":"2015-03-26T14:53:52Z","closed_at":"2015-03-26T14:53:01Z","body":"Hi Hoan.\r\n\r\nWe want to set up some new notification emails to customers whose payments have failed or whose subscriptions have been cancelled? I've included the copy for the various transaction types:\r\n\r\nDo you think you could do this in 2 hours?\r\n\r\nsubscr_failed\r\n\r\nHi [first and last name]\r\n\r\nYour Metafit subscription fee processed on [failed date] has failed. PayPal will try and process this payment again in 5 days.\r\n\r\nPayment failure is generally due to one of these three reasons;\r\n\r\n1.there are insufficient funds in the PayPal account\r\n2.there are insufficient funds in the bank account that backs the PayPal account\r\n3.the credit card that funds the PayPal account has expired \r\n\r\nTo update your credit or debit card;\r\n\r\n1. Log in to your PayPal account.\r\n\r\n2. Click Profile near the top of the page.\r\n\r\n3. Click My money.\r\n\r\n4. Click Update beside 'Credit and Debit card'.\r\n\r\n5. Click Edit or Update expiry date under ‘Action’.\r\n\r\n6.  Enter your new expiry date and click Save.\r\n\r\nPlease note: On the third payment failure, your Metafit subscription will be suspended.\r\n\r\nFor more details on PayPal recurring payments visit www.paypal.com.au.\r\n\r\nIf you have any further questions, please don’t hesitate to ask.\r\n\r\nKind Regards\r\n\r\nTeam Metafit \r\n[email of site manager]\r\n\r\n \r\n\r\n \r\n\r\nrecurring_payment_suspended_due_to_max_failed_payment\r\n\r\nHi [first and last name]\r\n\r\nYour Metafit subscription processed on [failed date] has failed for the third consecutive time resulting in suspension.\r\n\r\nYour Metafit account will be locked until your subscription is reactivated.\r\n\r\nTo reactivate your Metafit Subscription;\r\n\r\nLog into your PayPal account and go to Profile -> My Money.\r\n\r\nIn the row for 'My preapproved payments' click 'Update'.\r\n\r\nHere you will see a list of all of your recurring payments.  Find the subscription you need to reinstate and click on the title.  \r\n\r\nThe next page will show you all the details of this subscription. Click 'Re-activate' to re-activate your subscription.\r\n\r\nFor more details on PayPal suspended subscriptions visit www.paypal.com.au.\r\n\r\nIf you have any further questions, please don’t hesitate to ask.\r\n\r\nKind Regards\r\n\r\nTeam Metafit\r\n[email of site manager]\r\n\r\n \r\n\r\n \r\n\r\nsubscr_cancelled OR subscr_eot\r\n\r\nHi [first and last name]\r\n\r\nYour Metafit Subscription has been cancelled.\r\n\r\nWe hope you and your clients have enjoyed using our workouts.\r\n\r\nAs a qualified Metafit coach, you are able to re-subscribe at any point within the next 12 months.\r\n\r\nIf you have any feedback please contact daniel@metafit-australia.com, we’d love to hear from you.\r\n\r\nYours in Health and Fitness\r\n\r\nTeam Metafit\r\n[email of site manager] "},"comment":{"url":"https://api.github.com/repos/gemstoneit/metafit2014/issues/comments/86549911","html_url":"https://github.com/gemstoneit/metafit2014/issues/34#issuecomment-86549911","issue_url":"https://api.github.com/repos/gemstoneit/metafit2014/issues/34","id":86549911,"user":{"login":"Hoannv","id":1846777,"avatar_url":"https://avatars.githubusercontent.com/u/1846777?v=3","gravatar_id":"","url":"https://api.github.com/users/Hoannv","html_url":"https://github.com/Hoannv","followers_url":"https://api.github.com/users/Hoannv/followers","following_url":"https://api.github.com/users/Hoannv/following{/other_user}","gists_url":"https://api.github.com/users/Hoannv/gists{/gist_id}","starred_url":"https://api.github.com/users/Hoannv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hoannv/subscriptions","organizations_url":"https://api.github.com/users/Hoannv/orgs","repos_url":"https://api.github.com/users/Hoannv/repos","events_url":"https://api.github.com/users/Hoannv/events{/privacy}","received_events_url":"https://api.github.com/users/Hoannv/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T14:53:52Z","updated_at":"2015-03-26T14:53:52Z","body":"and they are also bcc to site manager."}}