Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 9

In App Purchases using Roku Pay

Jump to solution

I want users to be able to rent and buy videos in my channel and i want to integrate roku pay for this functionality. I've uploaded few in channel items in developer console, but when I call Channelstore.getCatalog() function, these items dont show up. They show fine from csfake file when i use fakeserver, but in a private channel, it doesn't work, show. Can someone please guide me to a sample that successfully show in channel products using channelstore?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Level 9

Re: In App Purchases using Roku Pay

Jump to solution

renojim, thank you so much for taking time to reply to this thread.
I was using print to check channelstore data. But I found out the issue is I was working for a client, and in-app products were uploaded in the client's channel store. And for some reason, I could not access those in the sideloaded channel. It kind of makes sense now, but I wonder how this will work in long term.

 

The fix was that I had to create in channel products in my own developer account and then I could get catalog from channelstore node.

View solution in original post

0 Kudos
4 Replies
Highlighted
Level 19

Re: In App Purchases using Roku Pay

Jump to solution

Have you set "Use for billing testing" under "Options" for that channel?  You should be able to see your items in a side-loaded channel.

0 Kudos
Highlighted
Level 9

Re: In App Purchases using Roku Pay

Jump to solution

I've tried "Used for billing testing" for a channel, I've tried when the channel was sideloaded, I've also tried as the channel was non-certified, but I don't get my catalog. I see an empty dialogue box, so I know the catalog child count is > 0, but the dialogbox is empty, is there any way to see response of getCatalog when it's on a non-certified channel?

0 Kudos
Highlighted
Level 19

Re: In App Purchases using Roku Pay

Jump to solution

I'm not familiar with the scene graph channel store stuff, but when your channel is side-loaded print is your best friend.  You should be able to print the ChannelStore node and see the results of the command.

0 Kudos
Highlighted
Level 9

Re: In App Purchases using Roku Pay

Jump to solution

renojim, thank you so much for taking time to reply to this thread.
I was using print to check channelstore data. But I found out the issue is I was working for a client, and in-app products were uploaded in the client's channel store. And for some reason, I could not access those in the sideloaded channel. It kind of makes sense now, but I wonder how this will work in long term.

 

The fix was that I had to create in channel products in my own developer account and then I could get catalog from channelstore node.

View solution in original post

0 Kudos