How to resolve conflict with WordPress Events Calendar Pro by Tribe

If you have an issue where purchasing an event product created via the WordPress Events Calendar Pro plugin by Tribe through our ePDQ payment gateway plugin, which returns a
“Sorry, this order is invalid and cannot be paid for” error on the checkout page; we have created this guide for you.

What’s the cause of the issue?

A normal product created with WooCommerce will not have the issue, and this only affects event products created via the WordPress Events Calendar Pro plugin by Tribe.
The payment can not be processed because ?provider=tribe_wooticket is getting added to the order-pay URL.

How can you solve it?

We had gotten in touch with the Tribe team about this issue, and they were able to find a code snippet to resolve it. You can access the code from here,

Before attempting the fix, please make sure to have your hosting provider back up your site as this solution would involve copying and pasting code on your theme’s function.php file.

To apply the fix, you would need to copy and paste the code to the child theme’s functions.php file or into a functionality plugin. If you are not sure how to have a child theme, you could consider following the steps in this article, or you could consider hiring a developer at Codeable to do all of these for you.

Was this helpful?

Barclaycard ePDQ Direct Link

Don't already have the plugin? Get access now.

Still need help?

Our team are on hand to provide fast, helpful and professional support.

Support request

Back End Demo

Start exploring our fully functional demo site today.
Gain exclusive admin access to see what's possible.

Create your demo now

Front End Demo

Test drive our plugin on the demo site.

View Demo


Ask our bot about our products.

Welcome to our AG Bot, powered by OpenAI and trained on our documents and product pages. By continuing to use this service, please keep in mind:

Your continued use indicates acceptance of these terms. We hope you find our AI Chatbot useful!

Hello! I am AG Bot, how can I help you?