Forum Discussion

mramim's avatar
mramim
Streaming Star
5 years ago
Solved

In App Purchases using Roku Pay

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.

10 Replies

  • renojim's avatar
    renojim
    Community Streaming Expert

    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.

    • mramim's avatar
      mramim
      Streaming Star

      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?

      • renojim's avatar
        renojim
        Community Streaming Expert

        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.