We are trying to integrate the subscriptions API and it works fine except in the following scenario I’m about to describe.
Use Case: We are trying to implement proration manually since it’s not fully supported by Square. Our workflow in an existing subscription upgrade scenario involves
- calculating the prorated amount at the time of upgrade and charging the customer for that
- cancelling the customer’s previous subscription
- creating a new subscription ( for the customer with a start date that is the end date of the previous subscription )
The workflow is also the same for downgrades as well except there’s no proration involved
Upon creating a new subscription at the final step, sometimes it works, sometimes it returns a 500 error and I receive no details as to what the problem is
4 posts - 3 participants