Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rossoneri
Binge Watcher

One time payments for screensavers, but static analysis blocks me?

I'm trying to update my screensaver and keep getting this payment code error... This error is pointless and makes no sense in my context.  Why is it that whenever they make a change they always break the static analysis.

Billing usage was specified on the Monetization channel properties page but no billing related BrightScript code was found in your channel.

I do not need billing related code because the Monetization channel contains the following option: 

Customers will pay before installing my channel.
 
Roku is supposed to be handling my payments, why do I need code to do that?  Also, where's the documentation that suggests I need to add code for Roku to handle one time payments?
'
 
0 Kudos
2 REPLIES 2
RokuPam
Streaming Star

Re: One time payments for screensavers, but static analysis blocks me?

Hi @rossoneri ,

I'm sorry about the trouble you've run into using Static Analysis for your pay-to-install channel! Our team has identified this bug and plans to deploy it to production on our next sprint. You are correct that pay-to-install channels are not expected to include billing code in their channel because it's all handled by Roku. 

If you have any troubles with a pay-to-install channel being blocked by this Static Analysis rule, please feel free to contact Partner Success at https://developer.roku.com/contact and we can assist with manually bypassing the error. 

0 Kudos
hamza061
Binge Watcher

Re: One time payments for screensavers, but static analysis blocks me?

Hi @RokuPam 

 

I am facing same error, I am using in app purchases in roku channel, code is working in side loading, but when i upload package to my beta channel for testing static analysis throws this error, 

And I have all the billing code in app. 
kindly help me with this.


Thanks in advance

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.