Added original_json

This commit is contained in:
BigButtonCo
2021-04-12 19:22:33 +02:00
committed by GitHub
parent 257f95f1d3
commit 246fcd3179

View File

@@ -102,6 +102,7 @@ public class IapGooglePlay implements PurchasesUpdatedListener {
p.put("date", toISO8601(new Date(purchase.getPurchaseTime()))); p.put("date", toISO8601(new Date(purchase.getPurchaseTime())));
p.put("receipt", purchase.getPurchaseToken()); p.put("receipt", purchase.getPurchaseToken());
p.put("signature", purchase.getSignature()); p.put("signature", purchase.getSignature());
p.put("original_json", purchase.getOriginalJson())
} }
catch (JSONException e) { catch (JSONException e) {
Log.wtf(TAG, "Failed to convert purchase", e); Log.wtf(TAG, "Failed to convert purchase", e);