apple / app-store-server-library-node

MIT License
174 stars 36 forks source link

Update README with description for legacy app receipt #164

Open Tsuyoshi-Ishikawa opened 3 months ago

Tsuyoshi-Ishikawa commented 3 months ago

I understood that ReceiptUtility is for legacy app receipt from this issue and comment. https://github.com/apple/app-store-server-library-node/issues/84#issuecomment-1951663446

So I think it is recommend to be written at README. That's why I modified README.

Please review it!

alexanderjordanbaker commented 3 months ago

@Tsuyoshi-Ishikawa is the confusion that the word "Receipt" only applies to Original StoreKit? StoreKit 2 only has transactions, no receipts

Tsuyoshi-Ishikawa commented 3 months ago

@alexanderjordanbaker

is the confusion that the word "Receipt" only applies to Original StoreKit?

I am not an iOS developer, but a node(backend) developer who not be familiar with iOS development. So I took my time because I mistakenly thought that Receipt would also work with Storekit2.

Tsuyoshi-Ishikawa commented 2 months ago

@alexanderjordanbaker Could you merge this Pull Request?

If there is something that needs to be corrected, please let me know.

alexanderjordanbaker commented 2 months ago

@Tsuyoshi-Ishikawa Could we please use the following text "Your app gets legacy receipts (App Store Receipts) if it uses the Original API for In-App Purchase. Use the ReceiptUtility class to extract a transaction ID from a legacy receipt, and use the transaction ID when you call the App Store Server API."

Tsuyoshi-Ishikawa commented 2 months ago

@Tsuyoshi-Ishikawa Could we please use the following text "Your app gets legacy receipts (App Store Receipts) if it uses the Original API for In-App Purchase. Use the ReceiptUtility class to extract a transaction ID from a legacy receipt, and use the transaction ID when you call the App Store Server API."

@alexanderjordanbaker Thank you. Yes, It's OK!