What is the product code in-channel purchase

Hey guys,

What is the product code in in-channel app purchase. Is it the product identifier of manage in-channel product screen.

And also one more thing , How can I check that the item is purchased so that I can hide the subscription screen to user.

I am assuming you mean the “code” property - in my experience, it is the product identifier from the management screen. You can use getPurchases() to see what the customer has already bought within your channel.

Thanks adamkaz. I have one more doubt. my product is approved. Still when I am purchasing , I am getting 006 error. Why ?

If you provide a little more detail of your issue, I might be able to help. Is the channel still side loaded? Where are you seeing the error?