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 ? 
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!