• Resolved Jeff Sherk

    (@jsherk)


    I am setting up Stripe for payments, and I see this:
    WARNING: no webhook has been created. Press save to attempt to create one.

    This warning is still there even after I click SAVE.

    It is unclear what I need to do…
    Do I need to setup a webhook in my Stripe dashboard that will notify EME plugin at the payment notification URL?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Franky

    (@liedekef)

    Is your private key correct?

    Thread Starter Jeff Sherk

    (@jsherk)

    I re-confirmed that they are correct, but to make sure I re-entered them.

    When I hit SAVE, I got the following error page came up:

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    I checked my admin email and got this:

    Error Details
    =============
    An error of type E_ERROR was caused in line 38 of the file /home/frtv/public_html/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-7.3.1/lib/Exception/ApiErrorException.php. Error message: Uncaught (Status 403) (Request req_qTis7NUsSZxgAJ) The provided key ‘rk_live_c3****************************c7or’ does not have the required permissions for this endpoint on account ‘acct_1EDfevE196QTMAVT’. Having the ‘rak_webhook_write’ permission would allow this request to continue.
    thrown

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Events Made Easy.

    First, visit your website (https://forerunnertv.com/) and check for any visible issues. Next, visit the page where the error was caught (https://forerunnertv.com/wp-admin/admin.php?page=eme-options&tab=payments&settings-updated=true) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    https://forerunnertv.com/wp-login.php?action=enter_recovery_mode&rm_token=KvMVF5aJcGsUrDkTNuMe9v&rm_key=NpnwcPGELJxS94xoN3K6iY

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.3
    Current theme: Bridge (version 19.3)
    Current plugin: Events Made Easy (version 2.1.54)
    PHP version 7.3.11

    Error Details
    =============
    An error of type E_ERROR was caused in line 38 of the file /home/frtv/public_html/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-7.3.1/lib/Exception/ApiErrorException.php. Error message: Uncaught (Status 403) (Request req_qTis7NUsSZxgAJ) The provided key ‘rk_live_c3****************************c7or’ does not have the required permissions for this endpoint on account ‘acct_1EDfevE196QTMAVT’. Having the ‘rak_webhook_write’ permission would allow this request to continue.
    thrown

    Plugin Author Franky

    (@liedekef)

    It seems to me your key is a restricted stripe key (starting with rk_) and your permissions for that key are not sufficient.
    Either fix your restricted key or ask Stripe support to assist you.

    Thread Starter Jeff Sherk

    (@jsherk)

    Yes the issue was that I was using an API key that was restricted. When I changed it to the standard API key, eme was able to succesfully create the webhook and no error was generated.

    However, there is another bug which I will post in a new thread… when EME create the webhook in Srtipe it deleted the other webhooks that we already there.

    Plugin Author Franky

    (@liedekef)

    That is by design. It wouldn’t be logical that a payment done by me would trigger a hook to another system. But it is only once. Afterwards, you can add as many hooks as you want.

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