In app purchase live url show sandbox popup and allow subscription for sandbox user
In app purchase live url show sandbox popup and allow subscription for sandbox user I have added in-app purchase in my application it is working well in sandbox environment but when I change it's URL from sandbox to live and run the application it is behaving unexpectedly. Here is my code: Below are the method in which we are requesting to apple for getting in app purchase detail of user. -(BOOL) getSubscriptionStatusFromAppleWithReceipt:(NSData *) receiptData { NSError *error; NSMutableDictionary *requestContents = [NSMutableDictionary dictionaryWithObject: [receiptData base64EncodedStringWithOptions:0] forKey:@"receipt-data"]; NSString *sharedSecret = @“*********************”; if (sharedSecret) requestContents[@"password"] = sharedSecret; NSData *requestData = [NSJSONSerialization dataWithJSONObject:requestContents options:0 error:&error]; NSString *strUrl = @""; // Live server strUrl = @"https://buy...