Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address a bug with a developer payload check for the promo codes #295

Merged
merged 2 commits into from
Aug 7, 2017

Conversation

serggl
Copy link
Member

@serggl serggl commented Aug 4, 2017

Finally.
Based on official comment from google, security checks based on developer payload is not a recommended technique.
Since it isn't really used for anything except of the additional security check, lets drop this extra check.
That should address and fix #156, #200, #291

P.S. Purchase signature check is still in place, no worries.

@serggl
Copy link
Member Author

serggl commented Aug 4, 2017

@Thomas-Vos @autonomousapps what do you guys think? I know you had problems due to this in the past

@serggl serggl force-pushed the deprecate_payload_security_check branch from 82cbb1b to 08d55d1 Compare August 4, 2017 07:57
@autonomousapps
Copy link
Collaborator

Looks good to my eyes. I don't expect my project to make use of promos in the foreseeable future, so the only thing I care about is that you keep prepending payloads like String purchasePayload = purchaseType + ":" + productId, since I now rely on that :)

@serggl
Copy link
Member Author

serggl commented Aug 7, 2017

@autonomousapps that part will stay unchanged. At least for now

@serggl serggl merged commit 5bcaf61 into master Aug 7, 2017
@serggl serggl deleted the deprecate_payload_security_check branch August 7, 2017 15:07
serggl added a commit that referenced this pull request Aug 7, 2017
showdpro pushed a commit to showdpro/android-inapp-billing-v3 that referenced this pull request Jul 13, 2021
…lab#295)

* finally address a bug with a payload check for the promo codes

* fix typo
showdpro pushed a commit to showdpro/android-inapp-billing-v3 that referenced this pull request Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"No value for developerPayload" BillingError on Promo Code use
3 participants