Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
piyush4196
Level 7

Validating the transaction

While validating the transaction through the web API (https://apipub.roku.com/listen/transact ... saction_ID
I am getting an error Method Not allowed using POSTMAN
0 Kudos
3 REPLIES 3
RokuJoel
Roku Employee
Roku Employee

Re: Validating the transaction

Try this: from a command line:

curl -G https://apipub.roku.com/listen/transact ... saction_Id

i.e. use GET in Postman instead of POST.

 - Joel 
0 Kudos
gomad
Level 10

Re: Validating the transaction

i can see lots of "empty" transaction in my Transactions page for my channel, what could be the reason?
i.e there are no expiration date or amount just the transaction id.
here is the response from validate_transaction call from postman:
<result xmlns="http://api.roku.com/transaction" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <errorCode i:nil="true" xmlns=""/>
    <errorDetails i:nil="true" xmlns=""/>
    <errorMessage xmlns=""/>
    <status xmlns="">Success</status>
    <amount>0.0000</amount>
    <cancelled>false</cancelled>
    <channelId>4007</channelId>
    <channelName>My TV</channelName>
    <couponCode i:nil="true"/>
    <currency>usd</currency>
    <expirationDate i:nil="true"/>
    <isEntitled>false</isEntitled>
    <originalPurchaseDate>2018-10-01T00:01:08</originalPurchaseDate>
    <partnerReferenceId i:nil="true"/>
    <productId/>
    <productName/>
    <purchaseDate>2018-10-01T00:01:08</purchaseDate>
    <quantity>1</quantity>
    <rokuCustomerId>65sdfsdfsdfs645454545dfddfdf</rokuCustomerId>
    <tax>0.0000</tax>
    <total>0.0000</total>
    <transactionId>55555555-55-555-444-WWWWWWWD4</transactionId>
</result>

Can anyone tell me what does this mean??
0 Kudos
gomad
Level 10

Re: Validating the transaction

Anyone??
0 Kudos