I am trying to do a custom subscription for multiple quantities through Stripe. I am using API connector but i am not able to get it to work. Anyone knows why?
I keep getting this error. (check that your POST content type is application/x-www-form-urlencoded). If you have any questions, we can help at https://support.stripe.com/)
I can get the API to work in postman, so it’s definitely a Bubble side error. Anyone can advise?
@loh.cher.e I noticed when creating a custom Stripe Express integration, I’d have to sometimes paste the response manually. API connector can be finicky.
Thanks for the advice! Still having the same error though. Just to make sure, i created a new call with the same settings and it still didn’t work…haha.
I honestly don’t understand why we have to tick the queryst option. This is a POST call, not a GET call, so I don’t really understand what queryst is for, and why this only works if that check is ticked.
Hey there @theomcortez , I’m still not sure till this day, but it seems like this problem only exists for POST calls. I just try it whenever i face the same error
I am encountering the same issue and it looks like the querystring method is the only thing that works properly.
I managed to get the content-type thing to work even without the querystring method by putting it in two different places but the body of my request call gets completely broken and sends messed up data (even though it technically works)
When I use postman I am able to POST the data to Stripe in the body of my request.
When I use Bubble I can only get it to work by posting it as querystring parameters, not body data.