Stripe Says Webhook Failing (Missing required param: enabled_events.)

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Stripe Says Webhook Failing (Missing required param: enabled_events.)

  • This topic has 1 reply, 1 voice, and was last updated 1 month ago by J. Davis.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1681589
    D L
    Participant

    After a successful booking where payment was processed OK, I’m getting email from Stripe saying the webhook is failing and they will disable it. Where do I look to fix this?

    “We’re still having trouble sending requests in live mode to a webhook endpoint associated with your HIGHMTN account. Stripe sends webhook events to your server to notify you of activity in your Stripe account, such as a completed payout or a newly-created invoice.

    The URL of the failing webhook endpoint is: https://site.com/index.php?mphb-listener=stripe

    You (or someone on your team) configured your Stripe account to send events to that URL. You can change your account’s webhook endpoints from the Dashboard.”

    IN the developer logs at stripe I see this for a failed connection

    parameter_missing - enabled_events
    Missing required param: enabled_events.
    Was this useful?
    
    Yes
    
    No
    {
      "connect": "false",
      "description": "Webhook for HMR Stripe transactions",
      "enumeratively_enabled_all_events_during_creation": "false",
      "url": "https://site.com/index.php?mphb-listener=stripe",
      "enabled_events": <required>
    }
    Response body
    {
      "error": {
        "code": "parameter_missing",
        "doc_url": "https://stripe.com/docs/error-codes/parameter-missing",
        "message": "Missing required param: enabled_events.",
        "message_code": "missing_required_parameter",
        "param": "enabled_events",
        "request_log_url": "https://dashboard.stripe.com/logs/",
        "type": "invalid_request_error"
      }
    }
    Request query parameters
    {
      "include_only": [
        "id,livemode,metadata,object,secret,status,url,api_version,application,created,description,enabled_events"
      ]
    }
    Request POST body
    {
      "connect": "false",
      "description": "Webhook for HMR Stripe transactions",
      "enumeratively_enabled_all_events_during_creation": "false",
      "url": "https://--------.com/index.php?mphb-listener=stripe"
    }
    #1683382
    J. Davis
    Keymaster

    Hi, Please make sure you use the 4.11.2+ version of the Hotel Booking plugin and configured Stripe according to this article https://motopress.com/document/hotel-booking-enable-stripe/
    If this does not help, I advise you to submit a request to our support team.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.