cordova - iOS Phonegap returning weird purchase receipts -


I'm looking at many purchase attempts with this strange transaction receipt from my PhoneGap iOS app, which appears to be invalid I try to verify it at the iTunes endpoint.

  window.plugins.inAppPurchaseManager.onPurchased = function (transactionId, productId, receipt) {// receipt is MC4wMDAwMDA = which base64 decodes 0.000000}   

me There is a doubt on a hack, but I want to verify that we are not doing anything wrong.

Use the official InappPurchaseManager plugin, 1.7 on the PhoneGapp-Plugin Repo Cordova.

I'm not familiar with the plugin you are using, but I do not think you There are some programs in it that make receipts in an attempt to steal in-app purchases. Apple recommends acquiring receipts through its own server to make scams of their products more difficult for hackers and hacks. You can read about Apple's receipt verification and their recommended best practices. People who start with

receipts like MC4wMDAwMDA = or Y29tLnVydXMuaWFwLj are common fake receipt signatures and fail valid validation if submitted to Apple.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -