acornils
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2012
11:40 AM
roChannelStore
I'm looking for examples on how to setup the Fake Channel Store for developing. The SDK claims that the Fake Store is run out of configuration files. Does anyone know how to consturct these files and where they are stored?
Thanks,
Thanks,
23 REPLIES 23

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2012
12:58 PM
Re: roChannelStore
Maybe you are looking for this:
https://roku.box.com/s/951c579618219bfaa278
this is the example of in-channel purchasing.
The rest of the setup is done in https://owner.roku.com
- Joel
https://roku.box.com/s/951c579618219bfaa278
this is the example of in-channel purchasing.
The rest of the setup is done in https://owner.roku.com
- Joel
acornils
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2012
08:31 AM
Re: roChannelStore
Sorry that is not what I'm after I have seen both those items already. What I want to know is how to setup the fake channel store mentioned in the SDK. The SDK referes to this being done in configuration files.

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2012
09:39 AM
Re: roChannelStore
Can you post a link to the page in the SDK you are referring to?
- Joel
- Joel

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2012
10:37 AM
Re: roChannelStore
I'm interested in knowing how to get this working as well. The FakeServer() method is documented here, but doesn't give any details on the "configuration files" it refers to: http://sdkdocs.roku.com/pages/viewpage. ... leanenable
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2012
10:45 AM
Re: roChannelStore
Hm, I've never used this feature (nor did I even know it existed until now), but looking at the source, it looks like it works this way. In the directory pkg:/csfake, you can have these xml files:
If you call roChannelStore.FakeServer(true), then the response to a channel store request will be the contents of the corresponding xml file. No transaction with the channel store actually takes place.
--Mark
CheckOrder.xml
PlaceOrder.xml
GetCatalog.xml
GetPurchases.xml
GetUpgrade.xml
UpgradeChannel.xml
If you call roChannelStore.FakeServer(true), then the response to a channel store request will be the contents of the corresponding xml file. No transaction with the channel store actually takes place.
--Mark
acornils
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2012
08:23 AM
Re: roChannelStore
Mark,
Where are you finding refrence to these xml's for the fakeserver. I have not seen them in any of the documentation or the sample application that I have. If you could provide links to the xmls or more details on there structure so I can create my own for testing that would be great.
Aaron
Where are you finding refrence to these xml's for the fakeserver. I have not seen them in any of the documentation or the sample application that I have. If you could provide links to the xmls or more details on there structure so I can create my own for testing that would be great.
Aaron

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2012
09:16 AM
Re: roChannelStore
I don't think these things are documented yet. You can put anything you want in the xml files, but of course it's only useful if you make the files look like actual channel store responses. The idea is you can test different kinds of channel store responses (errors, etc) to make sure your code parses and handles them correctly.
--Mark
--Mark
acornils
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2012
04:51 PM
Re: roChannelStore
Thanks Mark,
Do you know what the structure of the xml's is (i.e. required tags)?
Aaron
Do you know what the structure of the xml's is (i.e. required tags)?
Aaron

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2012
11:17 AM
Re: roChannelStore
*bump*
Any chance we could get an example of the XML for each of these files? Everything logical that I've tried has resulted in an "Order Response Garbled" error.
Any chance we could get an example of the XML for each of these files? Everything logical that I've tried has resulted in an "Order Response Garbled" error.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)