In-app purchase sandbox for testing apps that use cordova-plugin-inapppurchase

This package is deprecated, please use cordova-plugin-inapppurchase-simulator
Last updated 3 years ago .
· Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cordova-plugin-inapppurchase-sandbox 
SYNC missed versions from official npm registry.

In-App Purchase Sandbox plugin for Cordova

This is a simple Cordova plugin that overrides and approximates the following methods of cordova-plugin-inapppurchase to enable developers to test their in-app purchase workflow in a local sandbox with the minimum of effort on Android and iOS devices:;
inAppPurchase.subscribe(productId); // Not currently implemented
inAppPurchase.consume(type, receipt, signature);
inAppPurchase.getReceipt(); // Not currently implemented


cordova plugin add cordova-plugin-inapppurchase-sandbox


To enable the local sandbox, add the following command in your "deviceready" event handler:


To clear any test purchases you've made, add:


That's it!

Make a donation

If you find this project useful, why not buy us a coffee (or as many as you think it's worth)?

Make a donation

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

1 Versions

  • 0.1.0 [deprecated]           ...           3 years ago
Maintainers (1)
Dependencies (1)
Dev Dependencies (0)

Copyright © | 浙ICP备15033595号-63 |