cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Webhook Notifications – Not Working – Sandbox Account

We are using Sandbox account to test the webhook notifications so that the set up can be replicated into production

Endpoint URL for the webhook subscription  is an Azure Function with HTTP Trigger

Issue: We have created a webhook subscription successfully with the above URL as the listener. The webhook is configured for all the events under productid – payments.

We used the API to create the webhook subscription  and it got created successfully.

We processed payments through following API and got success response code and payments are shown under the transaction tab of the sandbox account. However, endpoint is not receiving any webhook notifications corresponding to the payments events. 

https://developer.cybersource.com/api-reference-assets/index.html?stage=pilot#payments_payments_proc...

Please note that we confirmed that the receiver end configurations are working fine by creating a webhook in a Git Hub Repository with the same Endpoint URL.

We made sure the receiver end configurations are correct by creating a webhook in GitHub with the same Endpoint URL and we are receiving the notifications. 

Moreover, we tried changing the Endpoint URL to a RequestBin endpoint but still no notifications are received.

Are we missing something here?

Queries

  1. Do webhook notifications work in sandbox accounts?
  2. Why the status of the webhook subscription changes to ‘Suspended’ after few minutes of making it ‘Active’ using the update webhook API . This happens even when there are no transactions happening in the sandbox account .

NB: We are testing the webhooks to make sure that the same set up could be replicated in the live environment  . We need to ensure that the solution works before trying it out in production

 

jibinpc
Member
Who Me Too'd this topic