I’m trying to setup a Stripe customer portal configuration via the API Connector but I’ve hit a roadblock. I’m able to create arrays using the bubble parameters but I’m not sure if nested arrays are possible. Here’s what the request is supposed to look like:
(I’ve added two products here but I think one is enough)
I’m currently using these parameters in my API call:
features[subscription_update][products][product][0]
features[subscription_update][products][prices][0]
features[subscription_update][products][prices][1]
But the problem is, those arrays are supposed to sit inside a “features[subscription_update][products][0]” array, and I don’t see a way to do that in Bubble.
Your structure is not correct. The array is at products level, not at the end
should probably be something like
features[subscription_update][products][0][product]
features[subscription_update][products][0][prices][]
(prices is also an array, but don’t need a number)
I personnally prefer to encode in JSON and convert it after (with Bubble encoded as text and json-safe function, this make this really simple to use with the plugin)