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?
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.
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.
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?
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.
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.
> 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.
Interesting, this also means as freelance developer you have to duplicate the channel for your personal account and in order tu create in-app purchase items you would also have to sign up for in app purchases with all that "paper work" Roku requires..
Hello man, I am facing an issue that my sideloaded channel is not showing any subscription products, the getCataloge().getChildCount() returns 0 everytime but when i viewed the status of the request it is "Order successfull". I have also added those products on my channel on the developer website. Please help!
@surendra019, did you set it to "Use for billing testing" in the developer dashboard?
Yes it is enabled.
@renojim, sir please could you tell me the process in a few steps to successfully sideload and test the Roku pay in which all our products will be shown.
I have my developer account and successfully published a channel (game) now I want to integrate IAP via Roku pay in it. I have the updated project in which there is IAP integrated but not tested successfully because the getCatalog() has 0 children. I don't know how that updated sideloaded project gets connected with the products of that published game? Please reply, will be thankful for your response.