5 Replies Latest reply on Jan 6, 2017 10:24 AM by kerrishotts

    how to get cordova-plugin-purchase to work?

    Lilliput87

      Hello!

      I installed cordova-plugin-purchase in my phonegap app, in my config.xml I see it is installed, also wenn I do "phonegap plugins" in command line.

      But wenn I try to use object "store" or "window.store" it is not defined.

      What could be the reason?

      -I included cordova.js

      -I waited for the deviceready event

      -I first installed with: cordova plugin add cc.fovea.cordova.purchase --variable BILLING_KEY="..."

      and then removed and reinstalled with: cordova plugin add https://github.com/j3k0/cordova-plugin-purchase.git --variable BILLING_KEY="..."

       

      Anyone an idea?