#hungry-issuing-physical
1 messages ยท Page 1 of 1 (latest)
While I pull up the code, the first object is the params im sending in call and second object is error being returned
Manager File:
Client File:
I can't do much with pictures of code unfortunately
can you share the real code here and/or an exact request that is failing?
let me rip it out rn! give me a sec
Ah wow ok
why aren't you using our official client library?
your code will never work :p
you're doing your own encoding, which basically can't work, at least not that way. Using the official stripe-node is really what you should be doing
right im using the beta for treasury so its not implemented some of these calls into node yet
yeah but you can use stripe-node for the majority of those calls.
If you do this yourself you need to make sure you use application/x-www-form-urlencoded for all the params
so you need to send shipping[address][city]=city shipping[address][country]=US etc
so i have this
i maybe formating object wrong then
let me try working on that formatting
do you have an example request id?
yeah
you just leaked your API key
deleted but make sure to roll it
be super careful with those headers, they have your raw API key ๐
oop yeah lmao it was just a test one thankfully ๐