I’m using Unity in-app purchase. How to know if it’s a test payment or an actual payment in client script?
Google Developer API has a ‘PurchaseType’ field in the ‘Product’ class, is there a way to access it from Unity in-app purchase?
In the case of a test payment, the test payment card, not the actual payment card, will be selected on the in-app payment screen.
Additionally, payments processed in this way will be marked as test payments in the Google Play Console.