Forum Discussion
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?
Hi developer_uj24,
- Have you done the following to make sure your channel is configured for testing Roku Pay purchases?:
- Partner Payouts: You have enrolled in the Roku Partner Payouts Program.
-
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.
- Partner Payouts: You have enrolled in the Roku Partner Payouts Program.
- You can contact partner success to get your channel enabled for TVOD.