Discussion Forum: Thread 319996 |
|
|
| | Author: | mroseives | Posted: | Apr 18, 2022 07:54 | Subject: | API: Push Notiifcations not coming through | Viewed: | 120 times | Topic: | Technical Issues | |
|
| Hi,
I've recently been trying to set up push notifications but I'm not getting
anywhere with them.
I've added a callback url at /v2/api/register_consumer.page, and added an
anonymous, unsecured endpoint to our website which I've pointed it to. I've
basically set this endpoint up to simply log any requests that come into it,
regardless of if the content has anything in it.
Since I set this up we've had quite a number of orders, but not one single
call from the webhook. I honestly don't know what's happening, but we're
not getting anything. The documentation is delightfully vague, all it really
says is "If you provided callback URLs to get notifications, you don't need
to call this method." and provides a json structure for what it would send through.
|
|
|
| | | | | |
| | | | Author: | REspect_Collect | Posted: | May 26, 2022 09:01 | Subject: | Re: API: Push Notiifcations not coming through | Viewed: | 44 times | Topic: | Technical Issues | |
|
| I have also stopped receiving push notifications since a couple of months. I
did not change any of the code or server settings. It worked perfectly before.
Are more people having this problem?
|
|
| | | | | |
| | | | Author: | ErwinNL | Posted: | May 26, 2022 10:41 | Subject: | Re: API: Push Notiifcations not coming through | Viewed: | 52 times | Topic: | Technical Issues | |
|
| In Technical Issues, mroseives writes:
| Hi,
I've recently been trying to set up push notifications but I'm not getting
anywhere with them.
I've added a callback url at /v2/api/register_consumer.page, and added an
anonymous, unsecured endpoint to our website which I've pointed it to. I've
basically set this endpoint up to simply log any requests that come into it,
regardless of if the content has anything in it.
Since I set this up we've had quite a number of orders, but not one single
call from the webhook. I honestly don't know what's happening, but we're
not getting anything. The documentation is delightfully vague, all it really
says is "If you provided callback URLs to get notifications, you don't need
to call this method." and provides a json structure for what it would send through.
|
I use:
https://api.inspacesoftware.com/bricklink/notifications/erwinnl/
as my callback URL, the URL doesn't have to exist but it shouldn't be
empty!
I've never received a JSON body, but with the URL set I am able to use the
/notifications
endpoint and get (pull) the notifications.
Hope that helps a bit, I did ask BL about this, multiple times but...
|
|
|
|
|
|
|