benjaminmayo / merchantkit

A modern In-App Purchases management framework for iOS.
MIT License
1.11k stars 72 forks source link

Adds some additional Receipt Metadata #35

Closed joshbillions closed 5 years ago

joshbillions commented 5 years ago

Primarily needed the transaction identifier and original transaction identifier from the receipt metadata.

benjaminmayo commented 5 years ago

This looks good and functionally coherent; I have a few minor tweaks I want to do, e.g making the string properties non-optional (using empty string instead) that I’ll clean up sometime this week.

benjaminmayo commented 5 years ago

I merged a reduced form of this as I realised several of the properties apply to individual In-App Purchases, rather than the receipt as a whole which is the purpose of ReceiptMetadata. I would like to expose information like originalTransactionIdentifier in the future, but it would require larger API changes.