flutter_iap_verificator 0.0.1 icon indicating copy to clipboard operation
flutter_iap_verificator: ^0.0.1 copied to clipboard

Verify In App Purchases receipt on device.

flutter_iap_verificator #

A Flutter plugin to verify In App Purchase Receipt on device. Currently, it's only works on iOS.

This plugin is using TPInAppReceipt as a backend.

Usage #

Use In App Purchase plugin. Then use the localVerificationData as receipt value.


    final receipt = purchaseDetails.verificationData.localVerificationData;

    final isValid = await FlutterIapVerificator(),.verify(receipt);
    if (isValid){
        // process valid receipt.

Warning!!! #

We highly recommends to verify your receipt on server side. This plugins can be used as additional security for verifying the receipt before you send to your server.