Do you have any knowledge of a theme conflict between Legacy and Events manager?
I have events manager installed on this site
http://au.worldthankyouday.org/events/world-thank-you-day-breakfast/
When the form is filled out and we are using the default theme and we press paypal it goes off to paypal.
If we change to legacy theme it fails to redirect.
This is the paypal redirect code that works with the default theme
//add paypal redirection
$(document).bind(’em_booking_gateway_add_paypal’, function(event, response){
// called by EM if return JSON contains gateway key, notifications messages are shown by now.
if(response.result){
var ppForm = $(‘<form action=”‘+response.paypal_url+'” method=”post” id=”em-paypal-redirect-form”></form>’);
$.each( response.paypal_vars, function(index,value){
ppForm.append(‘<input type=”hidden” name=”‘+index+'” value=”‘+value+'” />’);
});
ppForm.append(‘<input id=”em-paypal-submit” type=”submit” style=”display:none” />’);
ppForm.appendTo(‘body’).trigger(‘submit’);
}
});
Do you know where this could be conflicted with Legacy? Any help much appreciated.