- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Billing usage was specified during channel publishing but was not found in BrightScript code
Did you read the thread?! The solution has already been posted.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Billing usage was specified during channel publishing but was not found in BrightScript code
Yes I read. Please, can you simply suggest what code changes, I have to do and where to fix this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Billing usage was specified during channel publishing but was not found in BrightScript code
You must be new to development. One cant simply suggest what code change must be made without seeing your code. 🙂
Please study this sample. This implementation passes the static analysis tool and you can model your solution based on that.
https://github.com/rokudev/scenegraph-master-sample/tree/master/Subscriptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Billing usage was specified during channel publishing but was not found in BrightScript code
Weird I'm using this exact way to create and handle channelstore but I'm still getting this error. I'm implementing a TVOD channel so my logic is from tvod-sample-master from here
https://github.com/rokudev/samples/tree/master/roku%20pay
I also have authentication built into the channel when user tries to play a paid content. I don't understand what could cause this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Billing usage was specified during channel publishing but was not found in BrightScript code
Its been a couple of months, so the exact details are sketchy.
I was following this sample to create the in app purchase (without login):
https://github.com/rokudev/samples/blob/master/roku%20pay/SimpleChannelStore.zip
After completing the app, I could not pass static analysis until I made the channel store node a global rather than a member variable.
m.global.AddField("channelStore", "node", false) m.global.channelStore = CreateObject("roSGNode", "ChannelStore")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Billing usage was specified during channel publishing but was not found in BrightScript code
Does anyone have example for Screensaver (RunScreenSaver())? I have tried to create and handle channelstore as suggested here but it's not working for screensaver case. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Billing usage was specified during channel publishing but was not found in BrightScript code
If you intend to handle in channel billing for a screensaver you will need to add a "RunScreenSaverSettings" entry point. This will available on the system screensaver chooser. Otherwise if you want the channel to be a one time purchase, just set it in the dev portal monitization option.
https://developer.roku.com/en-us/docs/developer-program/media-playback/screensavers.md
- « Previous
-
- 1
- 2
- Next »