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: 
Jeev_1989
Visitor

transaction-service.svc/validate-transaction API returns cancelled as true after succesful rental purchase

There is a One-Time Purchase, Consumable quantity product set for renting an a video asset.
On purchasing the product from the app, the purchase is successful and I get the transactionId from the Roku store back.
On trying to validate the transaction using the "transaction-service.svc/validate-transaction"  API, I get a response with cancelled param as true. Not sure why this is seen even after a successful purchase of the product.

Response of "transaction-service.svc/validate-transaction" API :

<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>14.99</amount>
    <cancelled>true</cancelled>
    <channelId>85803</channelId>
    <channelName> (censored) </channelName>
    <couponCode i:nil="true"/>
    <currency>usd</currency>
    <expirationDate i:nil="true"/>
    <originalPurchaseDate>2017-09-05T09:26:51</originalPurchaseDate>
    <partnerReferenceId i:nil="true"/>
    <productId>com.(censored).roku.stdrental</productId>
    <productName>Standard Rental</productName>
    <purchaseDate>2017-09-05T09:26:51</purchaseDate>
    <quantity>1</quantity>
    <rokuCustomerId> (censored) </rokuCustomerId>
    <tax>0.0000</tax>
    <total>0.0000</total>
    <transactionId>BF9B5DE6-DD74-4997-BDAE-A7E5009BB14B</transactionId>
</result>


Can anyone let me know why the Cancelled param is returning true ? 
0 Kudos