{"action":"created","issue":{"url":"https://api.github.com/repos/steprescott/SCPStoreKitManager/issues/22","labels_url":"https://api.github.com/repos/steprescott/SCPStoreKitManager/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/steprescott/SCPStoreKitManager/issues/22/comments","events_url":"https://api.github.com/repos/steprescott/SCPStoreKitManager/issues/22/events","html_url":"https://github.com/steprescott/SCPStoreKitManager/issues/22","id":100322886,"number":22,"title":"validateReceiptWithBundleIdentifier: Always Fails","user":{"login":"joshkahane","id":1389062,"avatar_url":"https://avatars.githubusercontent.com/u/1389062?v=3","gravatar_id":"","url":"https://api.github.com/users/joshkahane","html_url":"https://github.com/joshkahane","followers_url":"https://api.github.com/users/joshkahane/followers","following_url":"https://api.github.com/users/joshkahane/following{/other_user}","gists_url":"https://api.github.com/users/joshkahane/gists{/gist_id}","starred_url":"https://api.github.com/users/joshkahane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshkahane/subscriptions","organizations_url":"https://api.github.com/users/joshkahane/orgs","repos_url":"https://api.github.com/users/joshkahane/repos","events_url":"https://api.github.com/users/joshkahane/events{/privacy}","received_events_url":"https://api.github.com/users/joshkahane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T14:18:57Z","updated_at":"2015-11-18T17:15:06Z","closed_at":null,"body":"The `validateReceiptWithBundleIdentifier` always fails. I am running in a sandbox environment, tried several sandbox accounts and devices.\r\n\r\nWhenever I run the method (just as in your sample but with relevant identifier and version) I get the following error:\r\n\r\n`Failure reason : The receipt is not for this device or app`\r\n  ` Description : Could not validate receipt`\r\n   ` Suggestion : N/A`\r\n\r\nAny suggestion as to what the problem could be in more detail? Really unsure how to get around this. Great looking pod though, seems it will really help out.\r\n\r\nReally appreciate any support, thanks.\r\nJosh."},"comment":{"url":"https://api.github.com/repos/steprescott/SCPStoreKitManager/issues/comments/157783443","html_url":"https://github.com/steprescott/SCPStoreKitManager/issues/22#issuecomment-157783443","issue_url":"https://api.github.com/repos/steprescott/SCPStoreKitManager/issues/22","id":157783443,"user":{"login":"SoundBlaster","id":809319,"avatar_url":"https://avatars.githubusercontent.com/u/809319?v=3","gravatar_id":"","url":"https://api.github.com/users/SoundBlaster","html_url":"https://github.com/SoundBlaster","followers_url":"https://api.github.com/users/SoundBlaster/followers","following_url":"https://api.github.com/users/SoundBlaster/following{/other_user}","gists_url":"https://api.github.com/users/SoundBlaster/gists{/gist_id}","starred_url":"https://api.github.com/users/SoundBlaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoundBlaster/subscriptions","organizations_url":"https://api.github.com/users/SoundBlaster/orgs","repos_url":"https://api.github.com/users/SoundBlaster/repos","events_url":"https://api.github.com/users/SoundBlaster/events{/privacy}","received_events_url":"https://api.github.com/users/SoundBlaster/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T17:15:06Z","updated_at":"2015-11-18T17:15:06Z","body":"CFBundleShortVersionString and CFBundleVersion MUST NOT be the same!\r\nFor example:\r\nCFBundleShortVersionString - aka Version - may be 1.0.1\r\nCFBundleVersion - aka Build - may be 101\r\nI checkout code of validator:\r\nIn method - (void)verifyReceiptAtPath:(NSString *)receiptPath success:(Success)successBlock failure:(Failure)failureBlock in 128 line you check _bundleVersion with CFBundleShortVersionString\r\nbut in 177 line you check _bundleVersion and [receipt version] that doesn't equal to a CFBundleShortVersionString, but equals to CFBundleVersion something like this \"bvrs\" = \"1.4\" — Bundle Version, not a Build! You need to fix this issue."}}