Contents

unsafePayloadValue

The associated value of the verification result that StoreKit doesn’t confirm as verified.

Declaration

var unsafePayloadValue: SignedType { get }

Discussion

This property represents the value of a payload in a JSON Web Signature (JWS) value that’s not confirmed to have passed StoreKit verification.

Use the unsafePayloadValue for debugging purposes or other situations where the integrity of the data is unimportant. This property ignores any verification errors. To get a payload that passed verification, or to check for verification errors, use the payloadValue property instead.

To determine if the JWS value fails verification, perform a verification on the jwsRepresentation property for subscription renewal information, the jwsRepresentation property for transactions, or the jwsRepresentation property for app transactions.

See Also

Getting the verification results