Closed elonzh closed 9 months ago
Those aren’t app transactions, those are signed notifications
Those aren’t app transactions, those are signed notifications
Are your sure? Check the code please!
You need to use verify_and_decode_signed_transaction not verify_and_decode_app_transaction
@alexanderjordanbaker It works, thanks!
AppTransaction is https://developer.apple.com/documentation/storekit/apptransaction JWSTransaction https://developer.apple.com/documentation/appstoreservernotifications/jwstransaction
https://developer.apple.com/documentation/appstoreservernotifications/data has details on the meaning of the fields in the notification
Currently, the decoding method is somewhat inconvenient, and I hope a more intuitive method can be provided. For example, providing a cached_property for each encrypted field.