AutumnA
Autumn4w ago
6 replies
Shunya Abe

Open Customer Portal - Autumn

Hi, I am seeing an issue opening the Billing Portal via the autumn-js SDK.

It was working for a few months.
But now our users cannot open customer billing portal.
This issue started like a week ago.

When our backend calls autumn.customers.billingPortal(customerId) (passing only the customer ID),
Autumn responds with an error and our logs show:

ERROR [Autumn] Malformed JSON in request body


The returned data is null, so we can’t get data.url .

It looks like API spec changed and now it needs return_url param?

Then documents and SDK needs to be updated because it says return_url is not required.
https://docs.useautumn.com/api-reference/customers/open-billing-portal

Thanks.
Was this page helpful?