Choose correct receipt_info from unified_receipt

Hello, since some fields of the Apple Server-Server Notifications are scheduled for deprecation like
Code Block
latest_receipt_info
and instead unifiedreceipt should be used, my question is how to identify the current receiptinfo from the array latest-receipt-info inside the unified receipt.
For the CANCEL nofitification, I can filter by web-order-line-item-id, but this field is not present for the other notifications.
How do I get the current receipt_info from the array in unified receipt?
Choose correct receipt_info from unified_receipt
 
 
Q