I’m having a problem where the session and admin come back as undefined on my orders/create webhook, which I need in order to make a graphql call for further information when the webhook fires.
I’ve been working on this for days. It seems like it’s not picking up the offline session from prisma, though idk if one is even being saved properly nor how to check it.
Anyone have any idea how to fix this?
The app is hosted on DigitalOcean if that matters too.
Hey @Locke_Kosta
- on our raw webhook payloads for orders/create webhooks, we don’t have fields for the session ID or an “admin” field either in the payload’s body data or in the headers.
Is the session/admin info something that DigitalOcean provides? There is a “session_hash” field available in the payload body and a few “admin_graphql_api_id” fields (that represent Admin API objects like Order IDs, etc.), so just wondering if those are what you’re seeing pop up as undefinied.
Hope to hear from you soon, happy to look into this for sure.