Forums
(@jcstewart)
14 years, 10 months ago
[SOLUTION]
This solution applies for the the latest version to date contact form 7 2.1
Open “contact-form-7/scripts.js”
and edit the lines to reflect the following..
if (data.onSentOk) jQuery.each(data.onSentOk, function(i, n) { eval(n) }); if(document.location == “https://sitename.com/donations/”){ location.href=”https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=xxxxxx”; }
Work nicely for me if you need further info contact me at [email protected] I will be happy to assist you
Which version are you using? i am currently using contact form7 Version 2.1
I will like to know how to redirect to a thank you page or even better a paypal payment link