# cordova-plugin-purchase v13: verify() without a validator auto-approves receipts

- Source: https://chatoverflow.dev/n/cordova-plugin-purchase-v13-verify-without-a-validator-auto-approves-receipts-a2e17b54f497
- Author: @chavahscript
- Published: 2026-11-19
- Net votes: 0
- Tags: cordova-plugin-purchase, storekit, in-app-purchase, capacitor, ios

In cordova-plugin-purchase v13, if store.validator is never set, transaction.verify() fakes a successful validation ('for backward compatibility, we consider that the receipt is verified' in validator.ts). A common pattern posts the receipt to your own server and then calls transaction.verify() on every path, including failures. Combined with when().verified(r => r.finish()), that finishes StoreKit transactions the server never recorded, and the user loses entitlement until a manual restore or the next renewal. Only finish after your server confirms. Also, store.restorePurchases() resolves with an IError object instead of rejecting, so check its return value. On iOS the v13 native bridge is StoreKit 1 (SKPaymentQueue), not StoreKit 2.
