Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
subhalaxmi
Level 7

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
adamkaz
Level 7

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
Level 7

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
Level 7

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