• LS

    (@lsterling03)


    I am using The Events Calendar and also Woocommerce with the Cybersource payment gateway plugin. Our payment gateway is not working, and the error log shows a conflict between TEC and Cybersource. I don’t know what is the culprit, but I wanted to make you aware. Do you know what this means? I have tried deactivating all other plugins and using the default WP theme, with no luck. The error only goes away once I deactivate your plugin.

    [09-Jun-2023 19:16:26 UTC] PHP Fatal error: Uncaught TypeError: TEC\Common\Firebase\JWT\JWT::getKey(): Return value must be of type TEC\Common\Firebase\JWT\Key, OpenSSLAsymmetricKey returned in /www/united_341/public/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/firebase/php-jwt/src/JWT.php:447
    Stack trace:
    
    0 /www/united_341/public/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/firebase/php-jwt/src/JWT.php(134): TEC\Common\Firebase\JWT\JWT::getKey(Array, '03XVuM8wfKQVJ74…')
    
    1 /www/united_341/public/wp-content/plugins/woocommerce-gateway-cybersource/includes/Flex_Helper.php(45): TEC\Common\Firebase\JWT\JWT::decode('eyJraWQiOiIwM1h…', Array, Array)
    
    2 /www/united_341/public/wp-content/plugins/woocommerce-gateway-cybersource/includes/Gateway.php(422): SkyVerge\WooCommerce\Cybersource\Flex_Helper::decode_flex_token('eyJraWQiOiIwM1h…', 'eyJraWQiOiJ3ZiI…')
    
    3 /www/united_341/public/wp-content/plugins/woocommerce-gateway-cybersource/includes/Gateway/Credit_Card.php(291): SkyVerge\WooCommerce\Cybersource\Gateway->get_order(34005)
    
    4 /www/united_341/public/wp-content/plugins/woocommerce-gateway-cybersource/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php(363): SkyVerge\WooCommerce\Cybersource\Gateway\Credit_Card->get_order(34005)
    
    5 /www/united_341/public/wp-content/plugins/woocommerce-gateway-cybersource/includes/Gateway/Credit_Card.php(539): SkyVerge\WooCommerce\PluginFramework\v5_10_15\SV_WC_Payment_Gateway_Direct->process_payment(34005)
    
    6 /www/united_341/public/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1050): SkyVerge\WooCommerce\Cybersource\Gateway\Credit_Card->process_payment(34005)
    
    7 /www/united_341/public/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1279): WC_Checkout->process_order_payment(34005, 'cybersource_cre…')
    
    8 /www/united_341/public/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(485): WC_Checkout->process_checkout()
    
    9 /www/united_341/public/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout('')
    
    10 /www/united_341/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    
    11 /www/united_341/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    12 /www/united_341/public/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action('wc_ajax_checkou…')
    
    13 /www/united_341/public/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax('')
    
    14 /www/united_341/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(false, Array)
    
    15 /www/united_341/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    16 /www/united_341/public/wp-includes/template-loader.php(13): do_action('template_redire…')
    
    17 /www/united_341/public/wp-blog-header.php(19): require_once('/www/united_341…')
    
    18 /www/united_341/public/index.php(17): require('/www/united_341…')
    
    19 {main}
    
    thrown in /www/united_341/public/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/firebase/php-jwt/src/JWT.php on line 447

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Darian

    (@d0153)

    Hi @lsterling03

    I’m sorry to hear that you’re having this issue. Let me help you with this one.

    Allow me to share this with the team and I’ll get back to you once I have more information.

    In the meantime, could you provide the version of the following? This will help us understand how your system is set up.

    • PHP
    • WordPress
    • The Events Calendar
    • Woocommerce
    • CyberSource Payment Gateway
    • Theme
    Thread Starter LS

    (@lsterling03)

    Thank you!

    PHP 8
    WordPress 6.2.2
    The Events Calendar 6.0.13.1
    Woocommerce 7.7.2
    Cybersource 2.5.6
    Theme = custom (but I also tested with the latest version of TwentyTwentyThree)

    Plugin Support Darian

    (@d0153)

    Hi @lsterling03

    Thanks for your response.

    According to the team, the issue could be related to Firebase/JWT. Based on the WC Cybersource changelog, they seem to have not updated the Firebase/JWT library to the latest version like all major WP plugins did (including us).

    Could you reach out to the Cybersource WC plugin dev team and check if this is the case?

    Looking forward to your reply.

    Plugin Support Darian

    (@d0153)

    Hi @lsterling03

    I hope you’re doing well. I just wanted to touch base and check in with you. It’s been a little while since we’ve heard from you. I was just curious if you had the chance to try out the recommendation provided above.

    Let me know if there’s anything I can assist you with.

    Plugin Support Darian

    (@d0153)

    Hi @lsterling03

    It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, feel free to start a new thread.

    Thread Starter LS

    (@lsterling03)

    CyberSource is the problem due to the reason Darian guessed above. Skyverge, the CyberSource plugin developers, know about the issue. But they haven’t fixed it yet. So in the meantime I had to roll back to an older version of the events calendar plugin, which is still compatible with CyberSource.

    Plugin Support Darian

    (@d0153)

    Hi @lsterling03

    I hope this message finds you well. I wanted to reach out and let you know that we hear you and we understand the frustration that comes with the issue you reported. We’ve taken action by creating an internal ticket and including your case in it.

    Our development team is already working diligently on it. Unfortunately, we don’t have an estimated time for when the issue will be resolved, but we’ll keep you updated as soon as a solution becomes available.

    If you have any questions or concerns, please don’t hesitate to reach out.


    Internal Bug Ticket Reference: TEC-4866

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflict with Cybersource Payment Gateway’ is closed to new replies.