This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error Message | |
"400. That’s an error." | |
Error: invalid_request | |
Invalid parameter value for redirect_uri: Missing scheme: | |
Solution | |
The redirect_uri should match with this syntax: your.bundle.id:/oauth2Callback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)getReceiptDataWithCompletionBlock:(void(^)(NSError *error))completionBlock { | |
NSURL *recieptURL = [[NSBundle mainBundle] appStoreReceiptURL]; | |
NSData *recieptData = [NSData dataWithContentsOfURL:recieptURL]; | |
NSMutableDictionary *payLoad; | |
if (recieptData){ | |
payLoad = [NSMutableDictionary dictionaryWithObject:[recieptData base64EncodedStringWithOptions:0] forKey:@"receipt-data"]; |