我一直看到我的Phonegap iOS应用程序尝试了多次这种奇怪的交易收据,当我尝试在itunes端点验证它时,它似乎无效。
window.plugins.inAppPurchaseManager.onPurchased = function (transactionId, productId, receipt) {
// receipt is MC4wMDAwMDA= which base64 decodes to 0.000000
}
我怀疑是黑客,但我想证实我们没有做错任何事。
这是使用Cordova 1.7上phonegap-plugins repo的官方InAppPurchaseManager插件。