Reputation: 3881
I'm putting an app up on Google Play (fmr. Android Market) and now i'm working on the in-app billing feature. The Android docs say you should do this by verifying the signature of the transaction with your public key, but i'm wondering if retrieving the order information with the Google Checkout API would be easier. Something like the following:
OLD WAY
MY WAY
Is this possible?
Upvotes: 3
Views: 1784
Reputation: 16290
Your way seems pretty easily spoofable to me. For something as critical as billing, I'd go with the recommended approach. It's been thought out.
Upvotes: 1
Reputation: 52936
Probably. Google Checkout API is not available everywhere though. If you have a merchant key, you should be able to use it, but the key is not available for most countries. You will need to contact yet one more server, but sounds like it should work. The question is, why haven't you tried yet?
Upvotes: 1