dotpot/InAppPy

validate_signature(googleplay) Unable to accept purchase Data signature

LionReal opened this issue · 0 comments

validate_signature(googleplay) Unable to accept purchase Data signature

I am trying to verify the product purchased from google play with the Google Play (receipt + signature) method, but gooleplay.py _validate_signature function does not accept the "signature" transmitted by google play by warning "Bad signature", am I missing something? Is my definition of "sig = base64.standard_b64decode(signature)" wrong? I do not understand.