Updated purchase receipt suitable for sending to apple verification server
This commit is contained in:
parent
7ec072f7e7
commit
bd71925726
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ Error InAppStore::restore_purchases() {
|
||||||
|
|
||||||
NSString *receipt_to_send = nil;
|
NSString *receipt_to_send = nil;
|
||||||
if (receipt != nil) {
|
if (receipt != nil) {
|
||||||
receipt_to_send = [receipt description];
|
receipt_to_send = [receipt base64EncodedStringWithOptions:0];
|
||||||
}
|
}
|
||||||
Dictionary receipt_ret;
|
Dictionary receipt_ret;
|
||||||
receipt_ret["receipt"] = String::utf8(receipt_to_send != nil ? [receipt_to_send UTF8String] : "");
|
receipt_ret["receipt"] = String::utf8(receipt_to_send != nil ? [receipt_to_send UTF8String] : "");
|
||||||
|
|
Loading…
Reference in a new issue