johnan / android-market-license-verification Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-market-license-verification
License: BSD 3-Clause "New" or "Revised" License
Automatically exported from code.google.com/p/android-market-license-verification
License: BSD 3-Clause "New" or "Revised" License
What steps will reproduce the problem?
1. Rewrite verify.php with my public KEY,package name, a valid signature from
google and responseData with 6 values
2. Launch verify.php
What is the expected output? What do you see instead?
I expect a true output instead of false
What version of the product are you using? On what operating system?
PHP 5
Please provide any additional information below.
I'm triying to verify a signature with my public key via PHP, your library is
awesome, but I'm just cant do it work. Everytime I'm triying to get a "true" I
get a "false". I'm getting the signature from the "String signature" value from
/*public static boolean verify(PublicKey publicKey, String signedData, String
signature)*/ method from the in-app billing sample of android developers, java
language is giving me a true , but openssl_verify is always writing false.
Original issue reported on code.google.com by [email protected]
on 26 Mar 2012 at 3:13
can you suggest a piece of java code accepting and sending a request?
we're having problems with your android-market-license-verification package.
It's not really a major issue, but we're not sure how to obtain the userId,
also the response data that we get from the market doesn't seem to have all the
fields that your code requires.
For instance this is a response we've got:
{"nonce":7329212834306988048,"orders":[{"notificationId":"android.test.purchased
","orderId":"transactionId.android.test.purchased","packageName":"com.fonlider.b
ettingleaks","productId":"android.test.purchased","purchaseTime":1318834690166,"
purchaseState":0}]}
So far we haven't been able to get a valid response as after using the verify
function we keep getting "false".
Thanks.
Original issue reported on code.google.com by [email protected]
on 17 Oct 2011 at 8:53
The responseData form the Google In App Billing API is a JSON with 7 entries.
So I have no idea how to feed the verify method from
AndroidMarket_Licensing_ResponseValidator to check my signature of the payment.
Could you help me?
Original issue reported on code.google.com by michaelpalmer04
on 12 Nov 2014 at 2:22
$packageName changed to $this->_packageName.
Original issue reported on code.google.com by [email protected]
on 18 Sep 2012 at 8:30
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.