{"action":"created","issue":{"url":"https://api.github.com/repos/recurly/recurly-js/issues/173","labels_url":"https://api.github.com/repos/recurly/recurly-js/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/recurly/recurly-js/issues/173/comments","events_url":"https://api.github.com/repos/recurly/recurly-js/issues/173/events","html_url":"https://github.com/recurly/recurly-js/issues/173","id":53756010,"number":173,"title":"Single use coupon not applied after recalculation","user":{"login":"vince-happymetrix","id":7725474,"avatar_url":"https://avatars.githubusercontent.com/u/7725474?v=3","gravatar_id":"","url":"https://api.github.com/users/vince-happymetrix","html_url":"https://github.com/vince-happymetrix","followers_url":"https://api.github.com/users/vince-happymetrix/followers","following_url":"https://api.github.com/users/vince-happymetrix/following{/other_user}","gists_url":"https://api.github.com/users/vince-happymetrix/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-happymetrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-happymetrix/subscriptions","organizations_url":"https://api.github.com/users/vince-happymetrix/orgs","repos_url":"https://api.github.com/users/vince-happymetrix/repos","events_url":"https://api.github.com/users/vince-happymetrix/events{/privacy}","received_events_url":"https://api.github.com/users/vince-happymetrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-08T14:29:55Z","updated_at":"2015-01-08T14:31:23Z","closed_at":null,"body":"In a script with to paying options (being monthly & yearly), i want to apply a coupon on the yearly subscription.\r\nOn init the coupons gets applied correctly. When i switch to monthly, the discount goes back to 0, which is correct. But when i select yearly again, the coupon is not applied anymore and discount still says 0.\r\nSubtotal, tax and total are correct in all situations."},"comment":{"url":"https://api.github.com/repos/recurly/recurly-js/issues/comments/69186048","html_url":"https://github.com/recurly/recurly-js/issues/173#issuecomment-69186048","issue_url":"https://api.github.com/repos/recurly/recurly-js/issues/173","id":69186048,"user":{"login":"rachelquick","id":428786,"avatar_url":"https://avatars.githubusercontent.com/u/428786?v=3","gravatar_id":"","url":"https://api.github.com/users/rachelquick","html_url":"https://github.com/rachelquick","followers_url":"https://api.github.com/users/rachelquick/followers","following_url":"https://api.github.com/users/rachelquick/following{/other_user}","gists_url":"https://api.github.com/users/rachelquick/gists{/gist_id}","starred_url":"https://api.github.com/users/rachelquick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rachelquick/subscriptions","organizations_url":"https://api.github.com/users/rachelquick/orgs","repos_url":"https://api.github.com/users/rachelquick/repos","events_url":"https://api.github.com/users/rachelquick/events{/privacy}","received_events_url":"https://api.github.com/users/rachelquick/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T14:31:23Z","updated_at":"2015-01-08T14:31:23Z","body":"Can you please contact support@recurly.com with your code and (ideally) a place where we can try to reproduce this behavior? Thanks."}}