I was in the process of changing the billing anchor date of a subscription. I have a subscription whose billing date is 23rd and the customer wanted to advance it to 15th. So when I set the billing anchor date as below:
{"errors": [{"code": "INTERNAL_SERVER_ERROR","detail": "Subscription ID `XXXXX` is locked and is not billable. Please retry or contact support.","category": "API_ERROR"}]}
Now I am not able to even retrieve the subscription. What should I do ?
And there is another subscription for whom I want to clear all the actions. Similar to the above subscription, I was trying to change the anchor date with customer’s permission. But I have not called delete action API as I thought maybe it will lock the subscription. Can you clear the actions for this subscription as well ?
Subscription id - c28ab37b-25ea-4cde-a378-79f21d36b58e
No. A single action for c28ab37b-25ea-4cde-a378-79f21d36b58e.
[{“id”: “XXXXX”,“type”: “CHANGE_BILLING_ANCHOR_DATE”,“effective_date”: “2024-05-18”,“monthly_billing_anchor_date”: 18}]
What about 7a104f60-a874-4d44-af1e-77d255abc2b8 ? Will this not be billed to the customer any more ? Why did the subscription get locked ?
Hey @wjps! I’m not sure if there was a separate resolution to the original question in this thread.
For the issue you’re running into, are you just attempting to use the ChangeBillingAnchorDate endpoint in general? I just tested it on my own subscription and was able to change the anchor date successfully.
If you’re having issues with it, do you mind sharing your Square application ID as well as a subscription ID you’re attempting to modify?