[Closed] IAP-Android Test Payment Detection

Hi,

I need to log the payment details according to payments type (test or real). Currently I can’t see any difference between test and real payments on ProcessPurchase() step in IAP. I looked at both test and real payments’ receipts and IAP’s PurchaseEventArgs object but couldn’t see any indicators of payments behaviour.

How can I understand if the payment is test or real payment?

Thanks.

If the user making the purchase is in your tester list, it’s a test purchase. The transaction itself is handled by Google. It looks like a real purchase to IAP.