Forum PayVault Invalid 'inapp_signed_data', doesn't contain any orders.

Discussion and help relating to the PlayerIO payment solution, PayVault.

Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Zwick » October 9th, 2016, 8:46 pm

My app suddenly started to generate this error while trying to call client.payVault.usePaymentInfo() method.

Example signedData :
Code: Select all
{"packageName":"io.thebuttongame","productId":"io.thebuttongame.itemfreeze_bundle10","purchaseTime":1476041308607,"purchaseState":0,"purchaseToken":"npechdfglkehabepedicdlpd.AO-J1OyoDRAKlrUQOhN6e2hU_jD5nA_4iAgE1G3jmqbAODvCpXKP9nOmnovz69pd3Wy81H9oK4ieVeWAtHLxURos1MyVcnHI9h5-jCYQPzJupjPC1GnbVO9-mIDG2zGQpAt1YIIXVhEWM-Pw6akGFyDE_jeFcant-A"}"


Example signature:
Code: Select all
"Cs783WN3agiVdrqXryjaA6N/dasZiDoK6vO+ss1z9Nqd87U82/cwmMRJPXTQTifDRBGch04Wc8law/1HB6VzJBWPAO6kFxACCK2pCYLetjXOd4+e7rlQWzXSX1C1FcUymos1C9vKaJVL9jx94uKK858D1CiEspYwVLQvzZJhUqVzeg+PvzPKZeLXy8ERbuZ8/TAOyNeUJBqHT02DGlOHfQM+QSrH52D4aTduSMT+w6Q8E7FodnmR3l8nNqAesAsZOA9S6rxhSo0j8aRBYULjkPy2gluiVDN6Wb9X3GwcTYeRbqRkg/yUo+SPtT9xLCM8Et/RUTt0kBPqRBvqd9jdug=="



I'm using:
Code: Select all
client.payVault.usePaymentInfo("googleplayv2", {inapp_signed_data: signedData, inapp_signature: signature})


Error #57:
Code: Select all
Invalid 'inapp_signed_data', doesn't contain any orders.


Any ideas what's wrong? :-(
Zwick
 
Posts: 19
Joined: December 2nd, 2012, 3:35 pm

Re: Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Zwick » October 10th, 2016, 4:52 pm

Anyone from PlayerIO?

Is it possible that it has something with plan changes?

Thanks! :-)
Zwick
 
Posts: 19
Joined: December 2nd, 2012, 3:35 pm

Re: Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Zwick » October 10th, 2016, 7:37 pm

Probably it's linked with this:
https://groups.google.com/forum/#!topic ... TSGbpFSU9I

It seems that we can't use test payments anymore. :(

Hello Google Play Developer,

Beginning June 20, 2016, we’ll be making a change to test purchases for one-time in-app purchases (IAPs).

Previously, test purchases for one-time IAPs generated order IDs. Starting June 20, 2016, one-time IAPs will not generate order IDs and will not appear in the Merchant Center. This behavior already applies to subscription IAPs.

You can learn more about testing in-app billing in the Android Developers Help Center (which will be updated with the information above on June 20).

Thanks for supporting Google Play,

The Google Play Team
Zwick
 
Posts: 19
Joined: December 2nd, 2012, 3:35 pm

Re: Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Henrik » October 11th, 2016, 5:10 am

Hey Zwick,

We're working our way through the PayVault providers to refresh them, thanks for bringing this up, we'll get to it real soon!
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Zwick » October 11th, 2016, 5:09 pm

Thanks!

Just want to confirm - real (non testing) transactions on production are working OK.
Zwick
 
Posts: 19
Joined: December 2nd, 2012, 3:35 pm

Re: Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Henrik » November 10th, 2016, 9:38 am

With the release today of the PayVault refresh, this issue is fixed. Making a test purchase should now work again.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Zwick » November 10th, 2016, 11:40 am

Awesome! <3
Zwick
 
Posts: 19
Joined: December 2nd, 2012, 3:35 pm

Re: Invalid 'inapp_signed_data', doesn't contain any orders.

Postby Zwick » November 27th, 2016, 4:01 pm

Just wanted to confirm, that it works as before. Thanks!
Zwick
 
Posts: 19
Joined: December 2nd, 2012, 3:35 pm


Return to PayVault