Stripe webhook delivery issues: Errors while sending the webhooks

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1006652
    Emanuel
    Participant

    Hello, we are using the integrated Stripe payment gateway, which is working fine but recently we got a mail from Stripe.com about Stripe webhook delivery issues for our site.

    “We’ve attempted to notify the endpoint 33 times since [3 days]. If this endpoint is important to your application, please try and fix the issue. If you do not need the webhook endpoint you can delete it from your Stripe webhook settings. We will stop sending notifications to your webhook by [in 6 days].

    Here is the summary of errors we have received when sending you webhooks:
    * 33 requests had other errors while sending the webhook.”

    Using Hotel Booking Version 3.8.3 with full license

    What might be the problem here? As far as I can see, our site is running perfectly fine, no recent offline times or other failures.

    #1006704
    Emanuel
    Participant

    I also checked the error messages at Stripe.com. As it seems, Stripe is sending webhook events like payments from other sites, payouts etc. to Hotel Booking which most likely do not have any importance for Hotel Booking.

    At webhook settings on stripe.com I can select which kind of events are sent to the webhook for Hotel Booking at oursite/index.php?mphb-listener=stripe and by default all are enabled.

    I think I will have to enable only those event types that are needed for Hotel Booking and the problem will be gone. But this is a huge list and I do not know which are needed!

    Account
    account.updated
    account.external_account.created
    account.external_account.deleted
    account.external_account.updated

    Balance
    balance.available

    Capability
    capability.updated

    Charge
    charge.captured
    charge.expired
    charge.failed
    charge.pending
    charge.refunded
    charge.succeeded
    charge.updated
    charge.dispute.closed
    charge.dispute.created
    charge.dispute.funds_reinstated
    charge.dispute.funds_withdrawn
    charge.dispute.updated
    charge.refund.updated

    Checkout
    checkout.session.async_payment_failed
    checkout.session.async_payment_succeeded
    checkout.session.completed

    Coupon
    coupon.created
    coupon.deleted
    coupon.updated

    Credit Note
    credit_note.created
    credit_note.updated
    credit_note.voided

    Customer
    customer.created
    customer.deleted
    customer.updated
    customer.discount.created
    customer.discount.deleted
    customer.discount.updated
    customer.source.created
    customer.source.deleted
    customer.source.expiring
    customer.source.updated
    customer.subscription.created
    customer.subscription.deleted
    customer.subscription.pending_update_applied
    customer.subscription.pending_update_expired
    customer.subscription.trial_will_end
    customer.subscription.updated
    customer.tax_id.created
    customer.tax_id.deleted
    customer.tax_id.updated

    File
    file.created

    Invoice
    invoice.created
    invoice.deleted
    invoice.finalized
    invoice.marked_uncollectible
    invoice.paid
    invoice.payment_action_required
    invoice.payment_failed
    invoice.payment_succeeded
    invoice.sent
    invoice.upcoming
    invoice.updated
    invoice.voided

    Invoiceitem
    invoiceitem.created
    invoiceitem.deleted
    invoiceitem.updated

    Issuing Authorization
    issuing_authorization.created
    issuing_authorization.request
    issuing_authorization.updated

    Issuing Card
    issuing_card.created
    issuing_card.updated

    Issuing Cardholder
    issuing_cardholder.created
    issuing_cardholder.updated

    Issuing Dispute
    issuing_dispute.created
    issuing_dispute.funds_reinstated
    issuing_dispute.updated

    Issuing Transaction
    issuing_transaction.created
    issuing_transaction.updated

    Mandate
    mandate.updated

    Order
    order.created
    order.payment_failed
    order.payment_succeeded
    order.updated

    Order Return
    order_return.created

    Payment Intent
    payment_intent.amount_capturable_updated
    payment_intent.canceled
    payment_intent.created
    payment_intent.payment_failed
    payment_intent.processing
    payment_intent.requires_action
    payment_intent.succeeded

    Payment Method
    payment_method.attached
    payment_method.automatically_updated
    payment_method.detached
    payment_method.updated

    Payout
    payout.canceled
    payout.created
    payout.failed
    payout.paid
    payout.updated

    Person
    person.created
    person.deleted
    person.updated

    Plan
    plan.created
    plan.deleted
    plan.updated

    Price
    price.created
    price.deleted
    price.updated

    Product
    product.created
    product.deleted
    product.updated

    Promotion Code
    promotion_code.created
    promotion_code.updated

    Radar
    radar.early_fraud_warning.created
    radar.early_fraud_warning.updated

    Recipient
    recipient.created
    recipient.deleted
    recipient.updated

    Reporting
    reporting.report_run.failed
    reporting.report_run.succeeded
    reporting.report_type.updated

    Review
    review.closed
    review.opened

    Setup Intent
    setup_intent.canceled
    setup_intent.created
    setup_intent.setup_failed
    setup_intent.succeeded

    Sigma
    sigma.scheduled_query_run.created

    Sku
    sku.created
    sku.deleted
    sku.updated

    Source
    source.canceled
    source.chargeable
    source.failed
    source.mandate_notification
    source.refund_attributes_required
    source.transaction.created
    source.transaction.updated

    Subscription Schedule
    subscription_schedule.aborted
    subscription_schedule.canceled
    subscription_schedule.completed
    subscription_schedule.created
    subscription_schedule.expiring
    subscription_schedule.released
    subscription_schedule.updated

    Tax Rate
    tax_rate.created
    tax_rate.updated

    Topup
    topup.canceled
    topup.created
    topup.failed
    topup.reversed
    topup.succeeded

    Transfer
    transfer.created
    transfer.failed
    transfer.paid
    transfer.reversed
    transfer.updated

    #1007277
    Andre Flores
    Moderator

    Hello, Emanuel!

    You are right, you should enable only event types required by the Hotel Booking plugin, you will find them below:

    source.failed
    source.canceled
    source.chargeable
    charge.failed
    charge.succeeded

    The rest of event types may be disabled.

    Regards,
    Andre

    #1007486
    Emanuel
    Participant

    Thanks. 🙂

    #1007901
    Andre Flores
    Moderator

    Hello, Emanuel!

    You are most welcome 🙂
    How’s been your experience with the Hotel Booking plugin so far? It would be much appreciated if you leave your positive feedback about it at: https://motopress.com/products/hotel-booking/#reviews.
    Thank you in advance!

    Regards,
    Andre

    #1017988
    Emanuel
    Participant

    Hello, after changing the Webhook settings for mphb-listener we had to wait and see, but unfortunately we are still getting errors about Webhook delivery issues from Stripe. Again it happened when a purchase via Stripe was made on one of our other sites. I can see the webhook event in Stripe logs and it contains some purchase information.

    I’ve contacted the Stripe support and asked if we must use a second Stripe profile for Hotel Booking only, but instead they said: “the error message you are receiving is 400 error. This means there is likely something wrong in your code or server. I recommend that your developers inspect your script’s code to find the problem there.”

    Now I don’t know what to do. Is the error in Hotel Booking or is it Stripe or our Stripe configuration?

    The Stripe logs only say:

    Webhook attempts failed for https://chillisimo.de/index.php?mphb-listener=stripe

    HTTP status code: 400 (Bad Request)

    Event type: source.chargeable

    #1019271
    Andre Flores
    Moderator

    Hello, Emanuel!

    I would recommend that you submit a request to our Help Desk providing a temporary access to WordPress dashboard and your Stripe account, so we take a closer look at the issue.

    Regards,
    Andre

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