Android billing v3 - no signature

前端 未结 2 1616
后悔当初
后悔当初 2021-02-07 16:40

What I want? After retrieving all purchased items I need to verify the purchase on my server, this I want to do with the signature and signed data received from the in-app payme

相关标签:
2条回答
  • 2021-02-07 17:20

    I found with V3 that the test products do not return any signed data, but if you sign your app with your release key and complete the purchase flow of your actual products that you do get signed data.

    0 讨论(0)
  • 2021-02-07 17:24

    You no longer get signatures for test purchases (android.test.*). I took the dive and uploaded my app to the market place (just didn't publish it) using my real products.

    Low and behold signatures started to be returned! I recommend amending any server side validation you are using to skip the signature check when the data contains an android.test.* item id.

    Note: The important bit about the above is: "using my real products".

    0 讨论(0)
提交回复
热议问题