I'm implementing Roku Pay TVOD, I've implemented everything correct requestPartnerOrder and confirmPartnerOrder but I'm getting this error "Object reference not set to an instance of an object." Please help me to resolve isn't I'm not getting Product from In-Channel Product or something else?
I've to Implement TVOD, I'm using RequestPartnerOrder with ConfirmPartnerOrder successfully getting "purchase id" but when I go to TEST USER to check that if there is any transaction succeed? I got "No transaction found" and no actual transaction succeeded when I remove my self from test user. The following is my RequestPartnerOrder code.
m.orderRequest = CreateObject("roSGNode", "ContentNode") m.orderRequest.title = m.top.movieTitle m.orderRequest.priceDisplay = m.top.costVideo.tostr() m.orderRequest.price = m.top.costVideo.tostr() m.orderRequest.addField("code", "string", false) m.orderRequest.code = "Product Name"' m.store.requestPartnerOrder = m.orderRequest m.store.command = "requestPartnerOrder"
And the following is "confirmPartnerOrder" code.
m.confirmRequest = CreateObject("roSGNode", "ContentNode") m.confirmRequest.title = m.orderRequest.title m.confirmRequest.priceDisplay = m.orderRequest.priceDisplay m.confirmRequest.price = Mid(m.store.requestPartnerOrderStatus.total, 2) m.confirmRequest.orderID = m.store.requestPartnerOrderStatus.orderID m.confirmRequest.addField("code", "string", false) m.confirmRequest.code = m.orderRequest.code m.store.confirmPartnerOrder = m.confirmRequest m.store.command = "confirmPartnerOrder"
Please Let me know where I'm doing mistake.
Also my another question is,
Contact your partner manager to get the requestPartnerOrder and confirmPartnerOrder commands enabled for your channel.
Who is my Partenr Manager? Is it Roku Success Partner or my client ? If client how do he enable?
Hello,
I'm working on implementation on Roku pay from last two weeks but there is no luck. Now I thought I've to go simple. I've taken simple example of Subscription from Roku samples. Followed this video lecture carefully.
1. Created Test Channel
2. Put Payment Information for tax etc.
3. Enable the channel for billing testing
4. Added a test user
5. Created In channel products
6. Enable channel for SVOD and TVOD from monetization
So I did everything, that means when I use following command I've to get Subscriptions that I've put in my In-Channel's Product, but I can't get. Please help me how do I get subscriptions from In-Channel Products.
m.global.channelStore.command = "getCatalog"
Hi @developer_uj24,
In-channel products: You've added one or more in-channel products to the channel being tested.
Billing Testing: You have designated the channel for "billing testing" to observe output from the SceneGraph ChannelStore node in the debug console when the channel is sideloaded.
Test Users. You added yourself as a Test User to the channel being tested.
Hi @developer_uj24,
Can you please provide the code you are using to verify whether the purchases Content node has any in-channel product child nodes in it?