InAppPurchase2

Can anyone help me to provide code of InAppPurchase2. i am stucked and cant find any usefull working solution for ionic3.