You will get a list from receipt 'in_app' key.
If there is any unfinished transaction, the length of this list may be > 1.
If so, the first item in list is the oldest transaction, the last item is the latest transaction.
So I change slice from 0 to -1 to get the latest transaction info, not the oldest.
You will get a list from receipt 'in_app' key. If there is any unfinished transaction, the length of this list may be > 1. If so, the first item in list is the oldest transaction, the last item is the latest transaction. So I change slice from 0 to -1 to get the latest transaction info, not the oldest.