Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
subhalaxmi
Visitor

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.
0 Kudos
3 REPLIES 3
adamkaz
Channel Surfer

Re: What is the product code in-channel purchase

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.
0 Kudos
subhalaxmi
Visitor

Re: What is the product code in-channel purchase

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

Re: What is the product code in-channel purchase

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?
0 Kudos