-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Does MerchantKit support Xcode StoreKit Configurations?
That's where you define your In-App Purchases in a .storekit file and assign it in your Scheme's Options. It allows for quick local testing where Xcode handles transactions and generating receipts. You can even run in the simulator, see transaction states, and more.
When running with a StoreKit Configuration file, validating receipts fails early deep in the parser.
Maybe it's just not supported or there is something obvious that I'm missing.
Specifically, a PayloadValueConversionError.invalidLength error is thrown with this stack trace:
ASN1.consumeLength(from:)
ASN1.Parser._parse(subdata:)
ASN1.Parse()
PKCS7ReceiptDataContainer.content()
LocalReceiptDataDecoder.decode(_:)
LocalReceiptValidator.validate(...)
...
Thanks for making MerchantKit.
Metadata
Metadata
Assignees
Labels
No labels