The task is to make a simple form for donation, which has two fields: department to donate to, and amount. This form suppose to open paypal window with preinserted values taken from form. Apparently on_sent_ok doesnt pick values, so I decided to use hooks. I tried action hooks wpcf7_mail_sent and wpcf7_before_send_mail the first one sents mail to me but doesnt do anything else, the second one doesnt do anything at all but they are definitely picked by form because if I use those hooks form simply hangs in the end, circle arrows on the side of submit button are spinning continuously and I never see success message. Also i tried filter wpcf7_form_action_url and I can see that action in form is changed correctly but I only see endless spinning arrows and no action. What do I do wrong? I suspect that form tries to work with paypal url via ajax but it cannot. How to work around this issue? I really dont want to change the code in any plugin’s file, want to use genuine features.
- The topic ‘[Plugin: Contact Form 7] Can't make hooks work’ is closed to new replies.