Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Restore store sku to sku conversion in OnPurchaseSucceeded for iOS #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private void OnPurchaseSucceeded(string json)
{
if (purchaseSucceededEvent != null)
{
purchaseSucceededEvent(new Purchase(json));
purchaseSucceededEvent(new Purchase(new JSON(json)));
}
}

Expand Down
1 change: 1 addition & 0 deletions unity_plugin/unity_src/Assets/Plugins/OpenIAB/Purchase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public Purchase(JSON json) {
OriginalJson = json.ToString("originalJson");
Signature = json.ToString("signature");
AppstoreName = json.ToString("appstoreName");
Receipt = json.ToString("receipt");

Sku = OpenIAB_iOS.StoreSku2Sku(Sku);
}
Expand Down