Get User's purchased products in In App Purchases Electron API OS X


#1

I’m trying to add in App Purchases to electron app.

Is there a way to check if user has already bought the item?
I’ve read that in storekit there is a way to retrieve product items which user has already bought before.

Or, maybe something like restore purchases?