Email isn’t sending if I use “send email after payment” feature
A few things can cause this problem.
- Make sure you are using the latest version of the plugin.
- On the plugin settings page, try changing the IPN Validation to “Skip”.
- The email may not be sending because you are testing on a development environment. The plugin needs to be used under a site with a real, publicly accessible domain name, so that PayPal and Stripe can send a notice to the plugin if the sale is successful and send the email. Your website must not be password protected or hidden.
- ‘Contact Form Submissions’ is an add-on plugin for Contact Form 7 that is not compatible with sending the email after payment. Please see this document for more information.
- If you are in sandbox or development mode, an email may not be triggered, as these are not real payments – they are test transactions.
- If your site uses any cache or optimizer plugins, please whitelist the form page and form submission. Cache plugins will sometimes cache the form, causing an email to not be sent.
- ‘Send PDF for Contact Form 7’ is an add-on plugin for Contact Form 7 that is not compatible with sending the email after payment.
- The ‘Restricted Site Access’ plugin is not compatible with sending the email after payment.
- A firewall or security plugin is blocking traffic from the PayPal or Stripe servers. If you have a firewall, you may need to allow PayPal/Stripe traffic to pass. Some security plugins such as Wordfence may need to whitelist PayPal/Stripe traffic. Please whitelist the needed IPs: Stripe / PayPal.
- On the plugin settings page, you may need to enter the IPN URL for your site. You can find out the IPN URL by adding: ?cf7pp_test=1 to the end of your domain name. So for example if your site is http://example.com, then in your browser go to http://example.com/?cf7pp_test=1. You should see the message “Contact Form 7 – PayPal Add-on Pro – Test Successful”. If you see this message, then your IPN URL is http://example.com
- You may need to add your IPN URL to PayPal. Here is how to do that: http://wpplugin.org/documentation/setting-up-ipn-notifications-on-paypal/