To get it to work on 2.0 do this:
Change all of the varabiles in plugin billing from this:
CallbackBillingPlugin.prototype.test = function(success, fail) {
PhoneGap.exec(success, fail, "CallbackBillingPlugin", "test", []);
};
To this:
window.CallbackBillingPlugin.prototype.test = function(success, fail) {
PhoneGap.exec(success, fail, "CallbackBillingPlugin", "test", []);
};
On everyone just not the first one.... and at the bottom remove this:
PhoneGap.addConstructor(function() {
PhoneGap.addPlugin("CallbackBillingPlugin", new CallbackBillingPlugin());
});
and REPLACE with this:
window.CallbackBillingPlugin = new CallbackBillingPlugin();
In index.html change all the :
window.plugins.BLABLABLABLA
TO JUST:
window.BLALBBLALBAL
AND THATS IT AND IT WORKS FOR ME...
roger