{"action":"opened","issue":{"url":"https://api.github.com/repos/websharks/s2member/issues/742","labels_url":"https://api.github.com/repos/websharks/s2member/issues/742/labels{/name}","comments_url":"https://api.github.com/repos/websharks/s2member/issues/742/comments","events_url":"https://api.github.com/repos/websharks/s2member/issues/742/events","html_url":"https://github.com/websharks/s2member/issues/742","id":109426183,"number":742,"title":"Bug :: Free Coupons Not Attached to User","user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/s2member/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T04:09:48Z","updated_at":"2015-10-02T04:09:48Z","closed_at":null,"body":"## Overview\r\n\r\nWhenever a \"Buy Now\" purchase is made via an s2Member Pro-Form, and a coupon code supplies a 100% discount, the coupon code is not attached to the user's profile in WordPress, because the the amount is `0.00` and a portion of the transaction processing does not run. That particular portion is what also attaches the coupon code to a user's account so a site owner can see it in the Dashboard.\r\n\r\n## Steps to Reproduce\r\n\r\n- Implement a Pro-Form for a \"Buy Now\" purchase.\r\n- Configure a coupon code that provides a 100% discount.\r\n- Completed checkout using the 100%-off coupon code.\r\n\r\n## Expected Behavior\r\n\r\nThat after checkout I could find the coupon code listed in the user's profile.\r\n\r\n## Observed Behavior\r\n\r\n![2015-10-01_20-09-01](https://cloud.githubusercontent.com/assets/1563559/10239327/4bc454f6-6878-11e5-8a21-861b3cb42793.png)\r\n"}}