• Resolved mantrikadeva

    (@mantrikadeva)


    Hi Events Calendar,

    Like some before me, I’m having trouble with validating the Stripe webhook secret key. Now, I have already tried a number of things, suggested on this forum in other topics:

    *Pasting a suggested piece of code into wp-config.php to manually validate the key.
    *Setting up a new Stripe account with platform controls. One that is not used by any other apps, to avoid conflicts.
    *Tested for conflicts with any other plugins.
    *Turning off any javascript optimisation settings.
    *Using pretty permalinks.
    *Using only latest updates of related plugins.

    Unfortunately, the issue continues to exist. I hope there’s someone here who can provide me with some adequate assistance. Please let me know if you would like some additional information.

    Kind regards,
    Maarten

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

    (@d0153)

    Hi Maarten,

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

    If you’re using WP 6.4, please update it to WP 6.4.1 and see if that resolves the issue.

    If it doesn’t help, this could be related to a bug in the front end with the UI saving the webhook secret key. We’ve got an internal ticket to research and address the issue.

    As a workaround, please try adding the following code snippet to the?wp-config.php?file as a workaround:

    define( 'TEC_TC_STRIPE_SIGNING_SECRET', 'paste the signing secret starting with whsec_ here' );

    Replace?paste the signing secret starting with whsec_ here?with your Stripe secret key.

    It may still show in the UI as not saved, but it will work from the back end with the code snippet.?

    After that, please try to checkout a ticket using Stripe, and see if it’s all working as expected.

    Let me know how it goes.

    Thread Starter mantrikadeva

    (@mantrikadeva)

    Hi Darian,

    Thanks for your reply.

    Unfortunalely, this week’s updates of both WordPress and Events Calendar have not made a difference to this issue.

    Your other suggestion I had already tried. But I have run it again, just so I could copy the error for you.

    The snippet does change two things: in the admin panel stripe is now shown to be ‘enabled for checkout’ and on events pages it now shows the stripe payment widget.

    But when I try to make a payment with my creditcard for testing, it shows the following error during checkout: ‘Cannot read properties of undefined (reading ‘post’)’.

    However, it does partially work, because if I enter b*llsh*t creditcard information it tells me the info is incorrect.

    Mantrikadeva

    Plugin Support Darian

    (@d0153)

    Hi @mantrikadeva

    Could you try upgrading your WP version to 6.4.1, and see if that makes a difference? If it doesn’t, please try downgrading it to 6.1.

    As always, please test this first on a staging version of your live site.

    Let me know how it goes.

    Thread Starter mantrikadeva

    (@mantrikadeva)

    Hi Darian,

    As I have let you know already in my last message, I have tried upgrading WP. Downgrading is not an option, because of the other plugins on my platform.

    I have decided to avoid the issue and start selling tickets through WooCommerce by upgrading to Events Tickets Plus.

    Thanks for your help. I appreciate your efforts.

    Mantrikadeva

    Plugin Support Darian

    (@d0153)

    Hi @mantrikadeva

    Thanks for your message.

    I’ll close this thread for now, but please do not hesitate to open a Support Ticket on our Help Desk if you have other issues at all. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stripe webhook issue’ is closed to new replies.