INVALID_RESPONSE_ERROR from google.payments.inapp.getSkuDetails -


i trying google browser extension in-app purchase working, keep getting error.

  • i have connected google wallet merchant account chrome web store developer dashboard.
  • in edit page of extension in dashboard, have added items "in-app products" tab (and made sure active).
  • i have included buy.js js file in app/ext package.

but when try list of items within extension calling getskudetails method, invalid_response_error

here code i'm running:

google.payments.inapp.getskudetails( {     'parameters': {'env':'prod'},     'success': function(response)     {         console.log('success', response);     },     'failure': function(response)     {         console.log('failure', response);     } }); 

as can see, have included necessary parameters according https://developer.chrome.com/webstore/payments-iap

furthermore, when try sample extension provided google, same error. https://github.com/googlechrome/chrome-app-samples/tree/master/samples/managed-in-app-payments

can explain why cannot code or sample code google work?

the interesting thing getpurchases method works , returns array of user licenses, google servers @ least working.

our team has run similar problem. google extension inapp purchases failure messages not clear @ all.

what looks me not in country supported store because able see licenses, cannot retrieve list of licenses purchase. have tried proxying test environment 1 of supported regions , trying script then?

regions supported chrome web store payments https://developer.chrome.com/webstore/pricing


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -