You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit/StoreKit2/InAppPurchasePlugin+StoreKit2.swift
Copy file name to clipboardExpand all lines: packages/in_app_purchase/in_app_purchase_storekit/lib/src/store_kit_2_wrappers/sk2_transaction_wrapper.dart
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ class SK2Transaction {
27
27
this.subscriptionGroupID,
28
28
this.price,
29
29
this.error,
30
+
this.receiptData,
30
31
this.jsonRepresentation,
31
32
});
32
33
@@ -63,7 +64,11 @@ class SK2Transaction {
63
64
/// Any error returned from StoreKit
64
65
finalSKError? error;
65
66
66
-
/// The json representation of a transaction
67
+
/// The JWS (JSON Web Signature) representation of the transaction.
68
+
/// This is the jwsRepresentation from StoreKit used for server-side verification.
69
+
finalString? receiptData;
70
+
71
+
/// The json representation of a transaction.
67
72
finalString? jsonRepresentation;
68
73
69
74
/// Wrapper around [Transaction.finish]
@@ -122,6 +127,7 @@ extension on SK2TransactionMessage {
0 commit comments