Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Hotel Booking Payment Request Stripe webhook delivery issues: Errors while sending the webhooks
- This topic has 8 replies, 3 voices, and was last updated 4 years, 5 months ago by Andre Flores. 
- AuthorPosts
- September 18, 2020 at 12:49 pm #1006652Emanuel ParticipantHello, 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. September 18, 2020 at 1:28 pm #1006704Emanuel ParticipantI 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.updatedBalance 
 balance.availableCapability 
 capability.updatedCharge 
 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.updatedCheckout 
 checkout.session.async_payment_failed
 checkout.session.async_payment_succeeded
 checkout.session.completedCoupon 
 coupon.created
 coupon.deleted
 coupon.updatedCredit Note 
 credit_note.created
 credit_note.updated
 credit_note.voidedCustomer 
 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.updatedFile 
 file.createdInvoice 
 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.voidedInvoiceitem 
 invoiceitem.created
 invoiceitem.deleted
 invoiceitem.updatedIssuing Authorization 
 issuing_authorization.created
 issuing_authorization.request
 issuing_authorization.updatedIssuing Card 
 issuing_card.created
 issuing_card.updatedIssuing Cardholder 
 issuing_cardholder.created
 issuing_cardholder.updatedIssuing Dispute 
 issuing_dispute.created
 issuing_dispute.funds_reinstated
 issuing_dispute.updatedIssuing Transaction 
 issuing_transaction.created
 issuing_transaction.updatedMandate 
 mandate.updatedOrder 
 order.created
 order.payment_failed
 order.payment_succeeded
 order.updatedOrder Return 
 order_return.createdPayment 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.succeededPayment Method 
 payment_method.attached
 payment_method.automatically_updated
 payment_method.detached
 payment_method.updatedPayout 
 payout.canceled
 payout.created
 payout.failed
 payout.paid
 payout.updatedPerson 
 person.created
 person.deleted
 person.updatedPlan 
 plan.created
 plan.deleted
 plan.updatedPrice 
 price.created
 price.deleted
 price.updatedProduct 
 product.created
 product.deleted
 product.updatedPromotion Code 
 promotion_code.created
 promotion_code.updatedRadar 
 radar.early_fraud_warning.created
 radar.early_fraud_warning.updatedRecipient 
 recipient.created
 recipient.deleted
 recipient.updatedReporting 
 reporting.report_run.failed
 reporting.report_run.succeeded
 reporting.report_type.updatedReview 
 review.closed
 review.openedSetup Intent 
 setup_intent.canceled
 setup_intent.created
 setup_intent.setup_failed
 setup_intent.succeededSigma 
 sigma.scheduled_query_run.createdSku 
 sku.created
 sku.deleted
 sku.updatedSource 
 source.canceled
 source.chargeable
 source.failed
 source.mandate_notification
 source.refund_attributes_required
 source.transaction.created
 source.transaction.updatedSubscription Schedule 
 subscription_schedule.aborted
 subscription_schedule.canceled
 subscription_schedule.completed
 subscription_schedule.created
 subscription_schedule.expiring
 subscription_schedule.released
 subscription_schedule.updatedTax Rate 
 tax_rate.created
 tax_rate.updatedTopup 
 topup.canceled
 topup.created
 topup.failed
 topup.reversed
 topup.succeededTransfer 
 transfer.created
 transfer.failed
 transfer.paid
 transfer.reversed
 transfer.updatedSeptember 21, 2020 at 7:40 am #1007277Andre Flores ModeratorHello, 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.succeededThe rest of event types may be disabled. Regards, 
 AndreSeptember 21, 2020 at 11:58 am #1007486Emanuel ParticipantThanks. 🙂 September 22, 2020 at 7:07 am #1007901Andre Flores ModeratorHello, 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, 
 AndreOctober 16, 2020 at 1:33 pm #1017988Emanuel ParticipantHello, 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 October 20, 2020 at 7:51 am #1019271Andre Flores ModeratorHello, 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, 
 AndreMay 11, 2021 at 2:15 am #1119211Gunta Freidenfelde ParticipantHello! Having the same issue here… Would be good to get some feedback on this problem! Also want to note that plugin documentation especially about payment setup is very poor and lacking a lot of information. Linking to stripe documentation about webhook endpoints does not help in this situation as it can not be used as a guide or reference. Please take this as a note and improve your documentation! Also switching to online documentation would be a much better option for your future edits/updates. May 13, 2021 at 1:21 am #1120515Andre Flores ModeratorHello Gunta, Thank you for your feedback about our Documentation, it is much appreciated. We will take it into consideration for future updates. 
 Please note that documentation is already available online: https://motopress.com/files/motopress-hotel-booking-plugin-documentation.pdf.As for your issue, 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 it. Regards, 
 Andre
- AuthorPosts
- You must be logged in to reply to this topic.