apple / app-store-server-library-python

MIT License
147 stars 31 forks source link

extract_transaction_id_from_app_receipt problem #62

Closed 3406836221qqcom closed 6 months ago

3406836221qqcom commented 6 months ago

If an order contains two transaction information, two transaction IDs will be generated, but this extract_transaction_id_from_app_receipt function can only parse out one ID, which will cause the transaction ID of the other order to be lost.

alexanderjordanbaker commented 6 months ago

The Get Transaction History endpoint will return a user’s whole history, so only one transaction id is generally needed. https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history