form redirection is not working on paypal
-
Old event is not working to trigger the redirection which is “mailsent.wpcf7” so I have changed it to “wpcf7mailsent” so now it is working so new code will be.
jQuery(document).on(‘wpcf7mailsent’, function () {
if(paypal_url != “” && paypal_location == “”)
{
jQuery(‘.wpcf7-response-output’).append(‘You are not redirected to PayPal as you have not configured PayPal Submit Button properly. <br>’);
}
else if(paypal_location != “”)
{
window.location = paypal_location;
}
});
- The topic ‘form redirection is not working on paypal’ is closed to new replies.