Test callbacks on local
Tuesday, July 6, 2021 at 09:09amThe Creating a Callback Notification Listener guide says I have put a callback URL. Is there a way to test the integration of Event callbacks in a local environment?
The Creating a Callback Notification Listener guide says I have put a callback URL. Is there a way to test the integration of Event callbacks in a local environment?
Reply to: Test callbacks on local
Tuesday, July 6, 2021 at 09:31amHi alejandrito,
Thanks for your post! You can use an HTTP client, like Postman or cURL, and invoke a POST call with below payload hitting your callback URL in order to stimulate when an event of interest get triggered:
{
"@class": "com.silanis.esl.packages.event.ESLProcessEvent",
"name": "PACKAGE_COMPLETE",
"sessionUser": "0787be84-f095-44c7-ba00-787093df86fc",
"packageId": "KHiRfOXgKK0gpVWwwpFOSNy6o34=",
"message": null,
"documentId": null
}
This is the same behavior when a relevant event get triggered and OneSpan Sign server sends an HTTP POST call to your registered URL. Also, you can find more sample payloads of different events in this guide.
Duo
Reply to: Test callbacks on local
Tuesday, July 6, 2021 at 09:33amThank you so much!