ExtPay is not defined #193
-
Hi Everyone! I am currently working on integrating extpay into one of my projects, and am struggling with a very silly issue that I know will be easily resolved. I am getting this error: VM854 content.js:2 Uncaught ReferenceError: ExtPay is not defined for reference here is my background.js (some extpay stuff in the first couple lines, rest is at the bottom):
And my content.js (this is just the top of it, but is where I am getting the error from:
Here is my manifest.json as well:
Any help I can get would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey Graham, it's a little hard to say from the information you've given. I'd suggest you copy from a known-working example like our sample-extension. And this may be unrelated, but note that in the |
Beta Was this translation helpful? Give feedback.
Hey Graham, it's a little hard to say from the information you've given. I'd suggest you copy from a known-working example like our sample-extension.
And this may be unrelated, but note that in the
manifest.json
for the sample extension there are two separate entries for content scripts. We'd recommend you keep these two entries instead of combining them as you did.