Hi again, I urgently need my credit card forms to be working and am would very much like to hear back from you to resolve this issue.
my forms do not display if htpps is activated, as opposed to the http
G’day Cathy,
That sounds like your theme is breaking JavaScript. Most likely, it’s loading its own copy of jQuery instead of the WordPress one — very naughty! See if the theme has an option to leave jQuery alone, and try that. Otherwise, please post a link to the website so that we can diagnose the problem better.
cheers,
Ross
can i email you the link instead?
G’day Cathy,
Your payment website is loading Contact Form 7 scripts from your main website (they are different domain names), but your main website doesn’t have a valid SSL certificate so those scripts are blocked. Your payment website also loads a script that *depends* on the Contact Form 7 scripts, and this is what is breaking the Gravity Forms scripts.
Having said that, I just successfully submitted a test transaction using the test VISA card number 4444333322221111, so perhaps the page you mention in your email is actually working OK.
cheers,
Ross
Hi Ross,
Thanks. Contact Form 7 came with the theme but I don’t use it, never have. Deactivating the plugin doesn’t seem to help things. I wonder when you processed the test payment, did the total field update in gravity forms? That’s one of the problems I’ve noticed. the same url I provided earlier, with /pay-invoice is not displaying the gravity form at all.
I use a shared SSL via my host, and I use the WordPress HTTPS plugin to force the particular payment pages to be secure. This has been working successfully for over a year.
When you mentioned JQuery issues I had a little look through the support forums for the form and picked this up: http://help.population-2.com/customer/portal/questions/8277140-fatal-error-in-js-file
Could that be causing my plugin problem too?
Thanks for your help.
Ah, no it isn’t updating the Total field. That’s the broken JavaScript. You need to stop the theme from trying to use Contact Form 7. It’s still loading scripts from that plugin, as if it is still activated. If you have page caching, you should clear your cache and retest. You might need to get the theme’s authors involved if deactivating the plugin doesn’t fix it.
Your problems are all from this script, which depends on other Contact Form 7 scripts loading first:
wp-content/plugins/contact-form-7/includes/js/scripts.js
cheers,
Ross
Also: by test mode, I mean that in Gravity Forms > Settings > eWAY the add-on is set to use the Sandbox test environment. This is fine while you’re trying to get things working, but you’ll need to switch it back to No once you’ve resolved the JavaScript error.
cheers,
Ross