Notifications webhook not providing order id.

I’m receiving the notifications; however, I can’t seem to find the order ID included anywhere in the URL encoded payload. The payload seems cutoff and is malformed. This is what I’m getting (minus the sensitive information):

{"{"userId":XXXXXXX,“message”:{"sym":"fixedPriceTransaction"},“happenedAt”:“[phone number removed][URL removed]”,“order”:{"amountPaid":“222.08”,amountSaved,“buyerCheckoutMessage”:"",buyerUserID,“buyerUserName”:“XXXXXXX”,“checkoutStatus”:{"status":"Complete"},“createdTime”:“[phone number removed][URL removed]”,“creatingUserRole”:“Buyer”,“itemArray”:[{"item":{"itemID":XXXXXXXXX,parentItemID,“sellerInventoryID”:“XXXXXX”,“sku”:“230976”,“title”:“Diamondback Bicycles Cobra 20 Youth 20 in Wheel Mountain Bike Orange 6 Speed”,“price”:“222.08”,“thumbnailURL”:“[URL removed]”,quantity,“ebayId”:“XXXX”,“mpn”:“02-0500030”,“upc”:“791964560760”,“personalizedText”:“:[”"]}

It appears everything after personalizedText is missing. Is anyone else using the webhook with success?

asked Translation missing: es.datetime.distance_in_words.over_x_years ago

haun11
Reputation: 32

2 Comment

tomwayne1 says: October 14, 2018

Never heard of it and not sure what you were trying to do. But, could it have something to do with the fact that you don’t have a seller’s booth even set up?

haun11 says: October 14, 2018

I’m working for a client who sells many items in various used conditions on multiple sales channels. I need the webhooks to prevent double selling. While convenient, the automatic eBay integration is far too slow at syncing up.

2 Answer

Good news! It works just fine. Had to implement a workaround in bodyparser. Should have mentioned I’m using express. The issue is simple. The headers indicate urlencoded, but it’s actually just sending json. For anyone encountering the issue I described and using node/[URL removed] [URL removed]

On a side note, among all of the sales platforms I’ve fooled with over the years, Bonanza’s API is by far the easiest to learn, most consistent, and best documented.

answered Translation missing: es.datetime.distance_in_words.over_x_years ago

haun11
Reputation: 32

May have to contact bonz about that…personally, never heard of it and have never seen anything about it on bonanza…though I did look it up and it appears to be a callback system…but as I said, may have to contact bonz, to see if they are set up for anything other than API callback

answered Translation missing: es.datetime.distance_in_words.over_x_years ago

ccmom
Reputation: 12648
See ccmom's booth
Question Vitals

Viewed: 1326 time

Asked: Translation missing: es.datetime.distance_in_words.over_x_years ago

Latest response: Translation missing: es.datetime.distance_in_words.over_x_years ago

To Answer Brilliantly

Remember these tips:

  • Use links to other sources to support your opinions
  • Use examples where possible
  • Put yourself in the inquirers shoes: what extra info would be helpful?

Should I post a comment or an answer?

You can only post one answer, so make it count. Maybe your reply is more fitting as a comment instead?

Post an answer for:

  • Replies that directly and specifically answer the original question

Post a comment for:

  • "Thanks," "Me too," "I agree," or "Works for me" types of replies
  • When you would like the original poster to provide more details
  • When you have more to add to someone else's question or answer

See also our Roundtable FAQ.

Formatting

Community help posts follow certain formatting guidelines, which may impact the look of your post. If you're interested in tweaking the format, instructions are available here.