Contact Form 7 - bypass payment but still submit form

I used contact form 7 to build a registration form for one of my clients events. In order to register for the event, visitors have to pay a registration fee through PayPayl, so I integrated the Contact Form 7 PayPal/Stripe premium plugin. Here’s my issue, half of the people attending the event have had their submission fees paid for by a sponsor, but we still need to gather their information submitted through the registration form. Is there a way for those people to bypass the redirect to the PayPal payment and just submit the form? I would think there’s a way to add an access code or a promotion code…

Hey Tess,

Thanks for reaching out!

It sounds like you’re looking for a way to allow certain participants to bypass the PayPal payment process when they submit the registration form, possibly using an access code or a promotion code.

These might be a workaround you can consider:

  1. Conditional Logic : Depending on the features provided by the Contact Form 7 PayPal/Stripe premium plugin, you might be able to use conditional logic to hide the PayPal payment section based on certain criteria. You could possibly set up a field for the access code or promotion code, and then use that code to determine whether the PayPal section should be displayed or not.
  2. Custom Code : If the plugin doesn’t support the functionality you need, you might need to resort to custom code. You could write some custom JavaScript code that interacts with the form’s DOM elements to control the visibility of the PayPal payment section based on the access code or promotion code entered by the user. This would require a good understanding of JavaScript and possibly jQuery if the form elements are identified using classes or IDs.
  3. Separate Forms : Another approach could be to have two separate forms—one for those who need to pay and one for those who don’t. The sponsor-covered attendees could be directed to a different form that doesn’t include the PayPal payment section. This might be simpler to implement, but it could result in some duplicated information collection.
  4. Contact Plugin Support : If none of the above options work, you might consider reaching out to the support of the Contact Form 7 PayPal/Stripe premium plugin. They might have some insights or suggestions on how to achieve your specific use case.

Just want to let you know that integrating 3rd party plugin is outside the scope of our theme support. You may seek 3rd party developers to help you with your problems or you can avail One where we can answer questions outside of the features of our theme.

Thank you.

Thanks for the reply! The client ended up deciding to switch to WP Forms, so I can create a coupon code.

Hey Tess,

That’s great and you’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.