[#1146] Webhook Callback not being called

James Hilton-Barber wrote:

Here’s a request. Response headers in screenshot.

No notification at Webhook.site - Test, transform and automate Web requests and emails

curl --location 'https://user-api.simplybook.me/' \
--header 'X-Company-Login: circlehealth' \
--header 'Content-Type: application/json' \
--header 'X-Token: REDACTED' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "book",
  "params": {
    "eventId": 26,
    "unitId": 4, 
    "date": "2024-02-16", 
    "time": "12:00:00",
    "clientData": {
        "name": "James Hilton-Barber", 
        "firstName": "James", 
        "lastName": "Hilton-Barber", 
        "email": "REDACTED", 
        "phone": "REDACTED", 
        "dateOfBirth": "REDACTED",
        "source": "google_maps"
    }
  }
}'

James Hilton-Barber wrote:

And yes, I noticed since my message that one can create and cancel in the Simplybook Dashboard. But if I do anything to a booking created via the API, there are no webhooks.

Dmytro Bondarev wrote:

Hi, could you please clarify if service is paid or free?

James Hilton-Barber wrote:

The service we offer in Simplybook? This one is paid, but we also have free ones. However, we don’t currently do anything related to payment except have a price set on the service.

If you mean which Simplybook Plan we’re on, it’s paid.

Dmytro Bondarev wrote:

Hi, i meant the service you offer in Simplybook.

If you are making booking for paid service trigger will be called after payment is received. (you can confirm payment manually or via API).

To confirm payment please pass handle_invoice: true in addtionals parameter in book method. After that in response you will receive invoice object with id. You can confirm it via method API documentation | SimplyBook.me Online Scheduling

If you don’t need payments right now you can disable Accept payments custom feature and you will receive triggers with your current integration.

Keannu Zeigfeld wrote:

Hi everyone i had the same issue and managed to fix it. I found out that the error was due to my SSL, SimplyBookMe requires you to have SSL certificates issued by public certificate authorities. If your certificate is self-signed, consider obtaining a free SSL certificate from Let’s Encrypt. I found this out on zapier, on my case i had a private SSL and this caused for my api not to receive events. Webhook.site has a public certificate reason why it receives the events with no issue. Hope this helps you out!