You've already forked cordova-plugin-purchase
mirror of
https://github.com/encounter/cordova-plugin-purchase.git
synced 2026-03-30 11:04:16 -07:00
8ca154daf3
Introductory prices requires an initial refresh validation in order to be displayed correctly. I though it'd be a good oportunity to review the full receipt refresh strategy: - Cache receipts for 7 days - Refresh receipt at app startup when not in cache - Update the receipts using validator response (`latest_receipt`). I also make sure the validator plays better with receipts containing lot of transactions, by only sending 1 request per product type.