Can someone please tell me how can I detect if a player just purchased my DevProduct? Should I use GetDeveloperProductsAsync?
1 Like
You can use ProcessReceipt
to handle successful product purchases. There’s a full-on explanation and a code sample on the document, so you can just take a look and process the information.
3 Likes
Alright. Thanks
but what about GetDeveloperProductAsync? Will it work as intended?
GetDeveloperProductAsync, as stated in the docs, will return information for all of the developer products in the current game. You can use this in combination with ProcessReceipt to see what dev products a player has or doesn’t have.
2 Likes