What are the Steps To Be Followed at Viewers-End?
If an account doesn’t exist –
- Visit my.roku.com on your computer or either smartphone.
- Create a Roku account.
- Enter all the details. Set a PIN.
- Choose a payment method, fill in the details.
Good to go
If, the account already exists without an added payment method –
- Go to my.roku.com on your computer or smartphone.
- Sign in to your Roku account.
- Click on the Update button under the Payment method section.
- Complete all fields and submit.
When updating re-enter all fields before submitting. (All credit card details/PayPal, full name, address, and phone number should be completed.)
How Does Roku Payment Work for the Developers?
Roku TV developers have developed amazing features to help ARM developers to fix the issues of billing, especially for in-channel purchasing.
Does there any specific workflow for In-Channel purchase?
In-channel purchasing can be concocted and tested programmatically through the tool made by Roku development team “SceneGraph” control node ChannelStore and the Roku Web Service API. The sample described in this report uses ChannelStore to show a simple sign-up scenario, not the entire in-channel purchasing workflow and neither the use of the Web Service API. This report also describes the code to implement purchasing during sign-up.
Workflow diagram to show the work done at the developers-end as well as users-end.
Creating and Monetizing a Channel
Roku developers have made it easy for ARM developers to monetize a public or non-certified channel. But before you can monetize your new channel, you need to create it using the Developer Dashboard and then write the code. Your new channel can be a public channel as well but does not publish or certify it prior to adding monetization.
Immediately after creating the Roku channel, do not publish or certify it. Later, once you have tested it and monetized it, you can certify and publish it.
Now, let’s come down to the roku payment part.
How does the Purchasing of the Sample Sign-Up Take Place?
Sample Application: ChannelStore_SignupFlow
The ChannelStore_SignupFlow sample shows the code the ARM developer needs to implement to sign up a new user and allow the purchase of a subscription using the SceneGraph ChannelStore object.
Sideload this example channel to see the sign-up screens, including the buying of a subscription. You might be asked for your Roku PIN, so have it available.
- Once the channel is installed, Start it and the first screen to flash on your screen will be for Login or Sign Up. This sample application only deals with Sign Up i.e. new members, not with the only registered members, so choose “New subscriber“.
“Request for information” will be the next screen to appear. Enter the trial account’s email address and click “Allow” to use.
Register a password and click “Continue“.
The “Subscription” screen shows the list of the products available for purchase. Choose any sample product.
Enter your Roku PIN for confirming the purchase.
Once your purchase is confirmed, the in-channel purchase is complete.
And this is how the Roku payment works.
Sample’s Runtime Flow of Control
At the time of launch, the flow through the example uses the custom Roku SignUp segment to check if there is any active Roku subscription for the account, getting all the user’s details like the user’s name, email, and password for a new account, find the purchasing products available in the channel and then sign up the user for the product.