Please send a test invoice link here so we could see what’s wrong
Thanks.
I’m having a similar issue, but for me it doesn’t spin. When I (or a customer) clicks to pay, it just blanks out the page and reloads. Nothing processes.
https://narrowbridgemedia.com/your-invoice/?invoice_id=ec11ad5dff36ceda00fe625c2da43094
Was working fine until I moved to a new server. Tried removing and re-installing the plugin to no avail.
You have broken javascript on your invoice page, especially jQuery.
Maybe it is included incorrectly by your theme or some plugin. Check this please
Thanks.
I don’t believe it is caused by the theme or a plugin. I just migrated servers and the only real change was to the caching. I just set the invoice pages to stop caching but no luck.
Also tried turning off minification with no luck either.
The only other big change was a recent switch to use SSL (I wasn’t before, which is a no-no, so I added it. That is why I changed servers). Are there any DB settings that might reference the non-SSL version from installation?
Hi
Denver Eric I believe you are on the right track. I just solved my issue with spinning icon not going to PayPal.
I found it would only work in Firefox firtsly, and then only when I was logged in. Chrome and Safari were not working at all. I’m Mac based so I’m assuming IE wasn’t working either as it generally never does anyway.
So… I have been using the iThemes security plug in, and I set up force SSL for my admin. and that was the issue.
Turning this off in the plug in settings does not remove the code from your wp-config so I removed it manually, went back to http and hey presto!
SO.. perhaps I need to get an SSL cert and use SSL over the front as well as the back end for this to work properly. I don’t see why I should need to do this, after all Pay Pal does the processing and that’s secured, I just wanted to secure the admin for my log in, no one else uses the site, it’s not public, we use it purely to send out invoices and take payments and that’s it.
Perhaps the Dev could shed some light on this for us. in the meantime I’m going to pick up a cheap SSL cert and give it a go.
hope this helps
DenverEric,
I think your problem is in your page optimizer plugin.
1) These are errors caused by the fact that jQuery is not defined in the point where that scripts start working: http://screencast.com/t/0Di0pt3BQ0u
2) These is how your scripts work now: http://screencast.com/t/oJr24g6U
So, basically you just need to turn off optimizer in order to include jQuery at the very top, meaning before all the plugins/scripts that use it.
I think this is the issue. Also, there should not be any difference with SSL and non SSL in current case.
Thanks.
That did it Anton. When I tried it the first time, I must not have cleared the cache. When I deactivated the plugin and cleared the cache, it worked as expected.
Would love to find a way to minify and optimize page speed without breaking the invoice plugin.
Not to hijack, but interested in this too since page speed is important.
You need to understand that we do not do anything special on invoice page that prevents page speed or caching from working. It is regular page with a bit of inline javascript on it, that is being broken by minification. You may encounter the same problem on other pages.
So, in other words you just need to setup caching properly for each case. For current case it seems minification is impossible.