Discussion Forum: Thread 319996

 Author: mroseives View Messages Posted By mroseives
 Posted: Apr 18, 2022 07:54
 Subject: API: Push Notiifcations not coming through
 Viewed: 120 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

mroseives (6753)

Location:  United Kingdom, England
Member Since Contact Type Status
Oct 10, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Cool Cat Collects
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 View Messages Posted By REspect_Collect
 Posted: May 26, 2022 09:01
 Subject: Re: API: Push Notiifcations not coming through
 Viewed: 44 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

REspect_Collect (1765)

Location:  Netherlands, Gelderland
Member Since Contact Type Status
Aug 27, 2018 Contact Member Seller
Buying Privileges - OKSelling Privileges - Revoked
Store Closed Store: REspect&Collect
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 View Messages Posted By ErwinNL
 Posted: May 26, 2022 10:41
 Subject: Re: API: Push Notiifcations not coming through
 Viewed: 52 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (622)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: TheBug
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...