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
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!