Google Chrome Licensing API returning 500 error. Need help!

twitter logo ・1 min read

Hi. Any Chrome Extensions developer here?

I've developed a chrome extension and I'm trying to provide Free Trial to users using Google License API. I'm taking the code here( as reference. Getting OAuth token is working fine. But after that when I'm making a call to the license API, I'm getting below 500 error(in link). I'm not sure what I'm doing wrong. Any help is appreciated!

twitter logo DISCUSS (13)
markdown guide

@Yura T: Did you have any luck with solving the issue?


No :(

To be honest I'm starting to doubt about choosing this Chrome Web Store API for payments organisation. Keeping an eye on Stripe API.

After all, it's the part of extension which should be extremely robust—I don't want to be my extension to break because of some 3rd party payments API failure, about which the vendor doesn't care (I mean, it's a freaking 500, seriously, Google).

Hi there, I came across the same problem yesterday, seems Google is not planning to fix it and it is really near impossible to contact the relevant support about this issue.

Could you please tell me if you have managed to find a way out? By using this other API you mentioned or somehow else?

Thanks a lot in advance.

Yeah, I haven't solved it yet.

I don't have a strong time pressure to release my extension, so I'm still waiting in hope that Google will fix it in some nearest future.

But if you need to release it soon you might want to implement it via another platform. Stripe API is one of the platforms for this (I don't know other, maybe you want to research some).

As I see it, switching to another platform has following pros:

  • Better support (no 500 error, yay);
  • Cross-platform compatibility (you can release the extension not only to Chrome, but in most cases to other browsers, e.g. Firefox, and who knows, maybe Edge soon).

But the cons:

  • You have to re-write the code to support new API;
  • New API might require backend proxy (I think Stripe requires that, otherwise you'd expose your API keys);
  • The payments won't be integrated so smoothly to Chrome Web Store. Instead of having the button in the store, you would have to implement payment interface yourself.

So, I don't know. I'm not ready yet to re-write my code, so I'm waiting, but maybe for someone time is critical.


Hey! I'm struggling with exactly the same thing. Free trial, error 500 after license request. Have no idea what to do.

It seems to me that Google experiences some problems with their servers.


Hi guys, did you have find a solution on this issue? I faced with the same issue


I got information from GSuite team to use "report content bug" from the bottom of the page from to report the issue
That's crazy, so many months and no one fixed it :-(


The problem still exists, I burnt quite a lot of time on this as well. I can only add that when you use their buy.js script the result is very similar. No error, just the number of licenses is always zero, no trial/paid license included. It's really annoying. I think I'd accept the fact that I can't use trial version and leave the license management 100% to google however there is one more issue. Please correct if I'm wrong but after you cancel subscription (monthly payments), the user who canceled the subscription, got the refund and etc. still can use the software which is crazy... Chrome doesn't verify if the user actually has or doesn't have the license.


The issue still exists, I am getting the {"error":{"errors":[{"domain":"global","reason":"backendError","message":"Backend Error"}],"code":500,"message":"Backend Error"}}

On there is a sample application for one time payments, and it works when installed from CWS. So maybe the issue reproducible just for new applications/extensions. In such case, it is not going to be fixed soon, as even it is not clear whom to report that.


Will be honest the payments api is buggy as hell. im moving all mine to stripe

Classic DEV Post from Jun 4

What's one resource most devs don't know that you use regularly?

Sunil Kumar profile image
A passionate programmer. I love building new things.