I have two products in my APP, One-Time Purchase and a Monthly recurring subscription.
After every purchase from ROKU, I store the purchaseID as transactionid into my server. Then, once I get PUSH notification, I validate using the transactionid.
Issue 1: In App, once roChannelStoreEvent executes and isRequestSucceeded() is true, ROKU sends us purchaseID as "aaaa-bbb-ccc-ddd-eeee". But when I get the push notification, transactionID for this same transaction is received as "aaaabbbcccdddeeee" without "-" character.
There are four PUSH notifications, SALE, REFUND, CANCELLATION and CREDIT.
Q1. When does CREDIT notification gets pushed? Example?
Q2. For monthly subscription, after ROKU charges the customer every month, does it send us the notification as SALE? How can I get the details to update my backend?
Q3. I am testing the notification by recording it and I can see I have been getting lots of same transaction records. By the description in docs, once ROKU server receives the responsekey sent with other data, it should stop sending the repeat again. Let me know if I am wrong in this?
On the whole, I am confused how to use isRequestSucceeded() phase, PUSH notifications and API calls effectively at the moment. Any information would be of great help.