Hi I have been currently been using the Flutter in app payment plugin example https://github.com/flutter/plugins/tree/master/packages/in_app_purchase/example.
Within that code after payment has happened there is a function named _verifyPurchase currently that function is as below.
Future<bool> _verifyPurchase(PurchaseDetails purchaseDetails) {
// IMPORTANT!! Always verify a purchase before delivering the product.
// For the purpose of an example, we directly return true.
return Future<bool>.value(true);
}
Currently it always returns true however I do not fully understand what verification process do I need to include here to verify a purchase.
What verification process do I need to include here to verify a purchase
I am currently confused as to what is actually needed within this function.