Hi there,
I have a question regarding the payment confirmation. I followed the QuickStart for flutter and I have implemented the IAP. I have 3 lifetime products to purchase coins and I have to verify with RevenueCat if my purchase was legit.
What would be the best method?
I am following the docs and implement the following logic:
if (rcPurchaseSuccess) {
RestAPI.addCoins();
}
I’m afraid if a malicious actor calls RestAPI.addCoins(); without any purchases or if something goes wrong with the app connection to my server. It will be problematic scenario. How do I solve that?
Is webhooks a good method for confirmation? Or is there a better way? I’m a bit confused since the docs are not clear.
Thanks