mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Updated purchase receipt suitable for sending to apple verification server
(cherry picked from commit bd71925726
)
This commit is contained in:
parent
3c9fc891c8
commit
4c0b077faa
@ -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] : "");
|
||||
|
Loading…
Reference in New Issue
Block a user