• Resolved Tim Derouin

    (@tderouindesign)


    We are unable to successfully connect PayPal to the Event Tickets plugin. While the connection states it is successful, when we return to WordPress everything notes “payment connection error” and resyncing displays more errors:

    • Error – Something went wrong! : Unexpected response received. – Failed to refresh PayPal access token.
    • Error – Something went wrong! : Unexpected response received. – Failed to refresh PayPal user info.
    • Unexpected PayPal response when creating webhook
    • Failed to refresh PayPal webhooks.

    WordPress and all plugins are up to date. We have deactivated all other plugins and tried the twenty twenty four theme and are still receiving the same errors. We downgraded from PHP 8.3 to PHP 8.0, also without success. Our hosting provider will charge for us to downgrade to PHP 7.4 since that version is past end of development life so we would need to add on PHP Extended Support.

    I also received these notifications while in debug mode:

    • Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /home/petbar51/monsonartscouncil.org/wp-content/plugins/event-tickets/src/Tickets/Commerce/Cart.php on line 154
    • Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /home/petbar51/monsonartscouncil.org/wp-content/plugins/event-tickets/src/Tickets/Commerce/Cart.php on line 154

    Any suggestions? The next step may be for us to contact PayPal directly but this seems more realted to the plugin than the ecommerce platform.

    Thanks in advance!

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

    (@tristan083)

    Hi @tderouindesign ,

    Thank you for reaching out.

    We currently have an internal bug report of the notice below (TECTRIA-74). However, this should not have an effect with connecting to PayPal.

    Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /home/petbar51/monsonartscouncil.org/wp-content/plugins/event-tickets/src/Tickets/Commerce/Cart.php on line 154

    I suspect something is blocking the?WordPress REST API here, and is causing the issue. If you have some security plugins (i.e. Wordfence), ensure that its settings is not blocking the REST API. I would also recommend checking with your WebHost as some?mod_security?configuration could potentially attribute to the failure.

    Thread Starter Tim Derouin

    (@tderouindesign)

    Hello @tristan083 ,

    I tried to resync the connection and then checked the Wordfence live traffic page to see if an action made by the Event Tickets plugin was blocked after receiving the same errors.

    No block was listed in Wordfence.

    I also switched over to Learning Mode in Wordfence and the attempt to resync still failed.

    In addition to Event Tickets we also have Gravity Forms installed and the connection between PayPal and Gravity Forms is working just fine. I also disabled the connection to PayPal in Gravity Forms in case that was causing the error but the resync between PayPal and Event Tickets still failed.

    This seems to be more related to the plugin not being completely compatible with PHP 8 and greater.

    Thoughts?

    Plugin Support tristan083

    (@tristan083)

    Hi @tderouindesign ,

    Thank you for your message and for taking the time to action on my recommendations.

    The issue seems to be isolated and not happening across the board, as we have users using PHP 8.x with Event Tickets and having no issues connecting to PayPal.

    I suspect there’s a conflict that’s causing the issue here. It would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything. 

    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Plugin Support Darian

    (@d0153)

    Hi @tderouindesign

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

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

    Thread Starter Tim Derouin

    (@tderouindesign)

    @tristan083

    As noted in my initial post… we already deactivated all plugins and tried a default WordPress theme without success.

    Not sure there is any other course of action to take here but I am willing to try if you have any other suggestions. Thanks!

    Plugin Support Darian

    (@d0153)

    Hi @tderouindesign

    Sorry for not getting back to you earlier. Have you considered downgrading your PHP to version 8.0 or 7.4 to see if it resolves the issue?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Payment connection error with PayPal’ is closed to new replies.