anjlab / android-inapp-billing-v3

A lightweight implementation of Android In-app Billing Version 3
Other
2.2k stars 536 forks source link

Receipt validation issue. #390

Open mukesh8293 opened 5 years ago

mukesh8293 commented 5 years ago

I don't understand how to do receipt validation. I am using your library in more than 10 of my application.

People hacked it easily and They got lots of coins as much as they want. please help me with receipt validation. Make a function where We can validate if its real or fake purchase

mateisuica commented 5 years ago

this kind of validation must be done server-side. If you do it in the app, it is easily hackable because they use modified play stores that also validate recipes.

edmundsiah81 commented 5 years ago

I don't understand how to do receipt validation. I am using your library in more than 10 of my application.

People hacked it easily and They got lots of coins as much as they want. please help me with receipt validation. Make a function where We can validate if its real or fake purchase

Hi Mukesh,

we have discussed about this receipt verification via server side. you can refer to topic Hack for more information & how to do it. I agreed with Mateisuca that there won't be a 100% fix until you do a server to server verification.

mukesh8293 commented 5 years ago

this kind of validation must be done server-side. If you do it in the app, it is easily hackable because they use modified play stores that also validate recipes.

Thanks, brother. We will try to do that.