-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe errors in spiderable package #3
Comments
FYI, the errors when using the packages dfischer:phantomjs and spiderable I don't get any errors locally, but when running on the server I am seeing the following error when including the escaped fragment.
|
How are you using the package? On Tue, Jul 7, 2015 at 11:36 PM, BradRyan notifications@github.com wrote:
|
The stripe package? At the time the error is thrown I'm not using it at all. It's just being loaded with the recommended startup code. In my app, I'm using Stripe Connect, and other miscellaneous charge / refund features. Note that I don't normally get this error, but when I type in ''www.mywebsite.com?escaped_fragment='', the error appears. This didn't occur with the regular spiderable package, but the server threw exceptions that would allow the web spiders to crawl my site. |
So you're not using the package? Could you do |
Thanks for the suggestion... Where would you recommend I place that code exactly? |
nevermind... I get it! |
I get the same error that I had previously on the local machine. I don't think the startup code is run when using ?escaped_fragment=. I put a log in front of the setPublishable key and I'm not seeing it. Perhaps because it's not initalized it throws the error becouse of stripe functions on the server? This error is strange though:
|
Strange, are you doing |
I've been setting it in the client only. |
+1 |
@adamwong246 FYI, I ended up pulling this out of my client code and just establishing the key on my calls. Definitely messed up my SEO for a bit. |
I've been having spiderable issues when testing the '?escaped_fragment=' (similar to those here: iron-meteor/iron-router#1192) while hosting on Modulus. I was attempting to fix them by using ongoworks:spiderable package. The error I was getting on the server is resolved, but now I'm seeing some other strange issues.
Using the ongoworks:spiderable package on the server, the following shows up inside my browser window's tags. I'm concerned this might actually show up in crawler results as I can see it on my browser window.
Using the ongoworks:spiderable package on localhost (http://localhost:3000/?_escaped_fragment_=) I get the following errors in my browser console.
Any ideas?
The text was updated successfully, but these errors were encountered: