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,
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, 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.