Closed Arjun-Sharma1 closed 3 years ago
I was able to reproduce this and pushed a fix here and to npm. Please let me know if this fixes it. Thanks for the bug report!
@Glench It no longer gives me an error on that line anymore but now I'm facing an error calling the openPaymentPage method.
I think you need to do something like this: https://stackoverflow.com/questions/28747672/chrome-windows-undefined-for-chrome-extension for the browserPolyfill inorder to create the payment window for the content script.
Wow you're finding all the bugs! Sorry about that. I just pushed a fix for the popup bug, 2.0.3. Mentioning it here for reference: https://github.com/Glench/ExtPay/commit/b23f26a16887444f6fcb6569cc4ee01dd6d68602
Getting an error when trying to initialize ExtPay. I followed the instructions to integrate it and I'm using the latest version. Let me know if i'm doing something wrong. Using Google Chrome as the browser.
I tried commenting that block of code out which works but it gives an error when I call extpay.openPaymentPage(). I think it's related to the browserPolyfill not being initialized properly.
This is my manifest.json.
Background.js