Commit 4c0b077f by Poq Xert Committed by Rémi Verschelde

Updated purchase receipt suitable for sending to apple verification server

(cherry picked from commit bd7192572697e919a8eb7cf6d8b44d699dae24c9)
parent 3c9fc891
......@@ -207,7 +207,7 @@ Error InAppStore::restore_purchases() {
NSString *receipt_to_send = nil;
if (receipt != nil) {
receipt_to_send = [receipt description];
receipt_to_send = [receipt base64EncodedStringWithOptions:0];
}
Dictionary receipt_ret;
receipt_ret["receipt"] = String::utf8(receipt_to_send != nil ? [receipt_to_send UTF8String] : "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment