Hi:
I created a form for subscribers to “swap subscriptions” to different versions.
A disgruntled subscriber wrote to complain to me. She said she’d swapped to a downgraded, less expensive subscription on 1 August, but had been billed at the original expensive rate on August 4.
I checked her subscription, and saw she was subscribed to the expensive plan.
{
"subscription": {
"id": "xxxxxxx",
"location_id": "xxxxxxx",
"customer_id": "xxxxxx",
"start_date": "2023-07-04",
"charged_through_date": "2023-09-04",
"status": "ACTIVE",
"invoice_ids": [
"inv:0-xxxxxxx",
"inv:0-xxxxxxx"
],
"version": 1,
"created_at": "2023-07-04T07:11:26-04:00",
"card_id": "ccof:xxxxxxxxxxxxxx",
"timezone": "America/New_York",
"source": {
"name": "My Company"
},
"plan_variation_id": "Expensive Subscription code here"
}
}
I then manually tried to change it to the cheaper plan.
Response follows:
{
"errors": [
{
"code": "BAD_REQUEST",
"detail": "The subscription is already pending a plan change.",
"category": "INVALID_REQUEST_ERROR"
}
]
}
So I checked subscription events and saw only this:
{
"subscription_events": [
{
"id": "xxxxxxxxxxxx",
"subscription_event_type": "START_SUBSCRIPTION",
"effective_date": "2023-07-04",
"plan_variation_id": "Expensive Subscription code here"
}
]
}
Is the “swap subscription” event recorded somewhere?