Hello everyone,
Im trying to create the Confirm setup intent action from Stripe.js manually but i’m getting a 400 response with
{
“error”: {
“message”: “Invalid request (check that your POST content type is application/x-www-form-urlencoded). If you have any questions, we can help at Stripe: Help & Support”,
“type”: “invalid_request_error”
}
}
and this is my config the Api and its call
Thank you!
You don’t need the authorization in both places. I’d change the Authentication method to “private key in header” and place the key there.
EDIT: in my example, I have the test key in “private key field” which you can do while you’re testing, but in reality, you want your live key there and the test key in the “development key value” field:
Then, in the call:
- change the “body type” to JSON
- check the querystring checkbox on all parameters
- and you probably want to use this as an action rather than a data source so you can trigger the confirmation in a workflow
Here’s a screenshot of a different Stripe call with those settings as an example:
Try that out!
Gaby
Coaching No Code Apps
Correction: the Use as already set as Action.
It worked!
Thank you so much Gaby 