BuildShipBBuildShip
Powered by
Baketa0000B
BuildShip•2y ago•
4 replies
Baketa0000

Baketa0000 - Hi, hope anyone can help me to und...

Hi, hope anyone can help me to understand what I am doing wrong or if I have encounter a software bug, I want to capture the payment information from a stripe webhook, I have the hook configured to "checkout.session.completed" and everything is set up properly on the Stripe side of things and I do get the hook.
Next node is to get data for the transaction from my supabase table, it works fine, I can retrieve all the fields related to the transaction refered by the stripe´s checkout id.
The problem is with the branch node that follows, here is the condition: " ctx["root"]["c133b812-5de5-4680-a6b9-7bf6cab3b54a"][0].credits == true " so that if the value of the field "credits" I got from the Get Row node equals "true" then do something else do something else.
For some reason it fails with the error " "label": "Branch",
"message": "Cannot read properties of undefined (reading 'credits')"
}"

which I don´t understand why, so I set up a new workflow which is the same other than the trigger node being a Post request insted, and this one works fine, here is a screnshot of both, the details , filters, and everything on the supabase node and branch node are identical
image.png
image.png
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

RodrigoAz - Hi, Can anyone help me configure it...
SkillsManagerSSkillsManager / 💬・general
2y ago
Baketa0000 - hi, is it possible to pass a dynam...
Baketa0000BBaketa0000 / 💬・general
17mo ago
Baketa0000 - Hi guys, I am trying to get the Su...
Baketa0000BBaketa0000 / 💬・general
2y ago
Sleetza - Hi all, can anyone tell me where to i...
SleetzaSSleetza / 💬・general
2y ago