This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

mwindey

  • *****
  • 478 posts
Webhook error - no parameters / empty payload.
« on: November 26, 2024, 07:00:57 PM »
Stripe settings are correct and payments work but every time after several days i get the email message from stripe saying Webhook error - no parameters / empty payload.

The webhook is setup correctly https:///mydomain.com/oc-content/plugins/osclass_pay/payments/stripe/webhook.php
Webhook-events: payment_intent.succeeded, checkout.session.completed are set

Any idea what goes wrong?

*

MB Themes

Re: Webhook error - no parameters / empty payload.
« Reply #1 on: November 26, 2024, 08:55:32 PM »
How that email looks like?
Does it represent any error for you? missing payment or similar?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 478 posts
Re: Webhook error - no parameters / empty payload.
« Reply #2 on: November 27, 2024, 10:29:39 AM »
Email=
 
We are having trouble sending requests in live mode to a webhook endpoint associated with your account. Stripe sends webhook events to your server to notify you of activity in your Stripe account, such as a completed payout or a new invoice.

The URL of the webhook endpoint that is not working properly is: https://mydomain.be/oc-content/plugins/osclass_pay/payments/stripe/webhook.php

Error= 11 requests had other errors while sending the webhook event.

Payments are passed correctly it is only the confirmation

checkout.session.completed: HTTP status code
400 (Bad Request)
Webhook error while validating signature.

payment_intent.succeeded : HTTP status code
400 (Bad Request)
Webhook error while validating signature.

The url itself gives Webhook error - no parameters / empty payload.
« Last Edit: November 27, 2024, 11:56:41 AM by mwindey »

Marked as best answer by frosticek on November 29, 2024, 03:37:57 PM
*

mwindey

  • *****
  • 478 posts
Re: Webhook error - no parameters / empty payload.
« Reply #3 on: November 27, 2024, 12:00:42 PM »
Sometimes life is so easy... Removing a webhook in Stripe and creating a new one works wonders.
So my apologies for the stupid question...Now I have to start making money...Laterzz  8) 8) ;)