Function Debugging + Stripe #1433
Replies: 1 comment
-
Ah, apologies... I didn't authenticate using key! const stripe = new Stripe('sk_test_...'); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to both rowy and cloud functions in general and trying to use a derivative column to call Stripe (payments gateway) upon row update to create a new {payment intent}. It's the first time i've done anything requiring importing a module (see first line) - but unclear where to turn in terms of debugging.
From GCP logs I get "TypeError: Cannot read properties of undefined (reading 'create') at Object.derivative [as default] (/workspace/src/derivatives/stripeIntent.js:10:64)" but no idea where to start.
I get nothing back (with above error) and can't see anything in Stripe events/logs to suggest a call was ever made...?!?
Desperate to get this working and, perhaps more importantly, learn how best to trouble shoot such issues. Any help super appreciated! :)
Ryan.
Beta Was this translation helpful? Give feedback.
All reactions