Hello,
I’m literlly pulling my hair out trying to get the Stripe API to work.
Im trying to register a user as a seller with stripe connect, however need to use my own API call as I need to send more info to Stripe than the Bubble Plugin allows. (Address, DOB, etc etc).
I’ve been getting error after error, to the extent that even a simple call just sending the address gives an error.
I’ve attached the call, and the reply below. Any thoughts would amazing. This is me just testing it, with sending just one parameter.
I also tried adding all the parameters, however get a different error, saying I’m sending “name” - which I’m not.
Set the body type to JSON, and set each parameter to be used as a query-string.
Two separate issues here based on the screenshots:
-
First error (“check that your POST content type is application/x-www-form-urlencoded”) — your body type is set to “Form-data” but it needs to be “Form-url-encoded”. Even though you have the content-type header set correctly, Bubble is actually sending it as multipart form-data. Change the Body type dropdown from “Form-data” to “Form-url-encoded”.
-
Second error (“parameter_unknown: name”) — Stripe is receiving a name parameter that isn’t in your parameter list. My guess is there’s a leftover parameter from a previous version of this API call that’s still being sent. Double-check that you don’t have a name key hiding in there, or try rebuilding the call from scratch rather than copying it.
Fix the body type first — that’s almost certainly the root cause of the first error.