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 do make sure to have your hosting provider back up your site as this solution would involve copy and pasting code on your theme’s function.php

To apply the fix, you would need to copy and paste the code to the child theme’s functions.php file or in a functionality plugin. If you are not sure how to have a child theme, (1) you could consider following the steps in this article,
(2) you can also use a third-party plugin like the Code Snippets plugin to add the code instead of manually adding it on your theme’s function.php file.

Image 2020-06-18 at 6.30.04 PM

Or (3)you could consider hiring a developer at Codeable to do all of these for you.

Was this helpful?

Barclays ePDQ

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

Front End Demo

Test drive our plugin on the demo site.

View Demo

AG Bot (BETA) - Not live chat

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? (Not live chat)