You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong date format in CatalogApi::getProductForSubscriptionAndDate #122
According to the latest version of the KillBill API, GET /1.0/kb/catalog/product expects a LocalDateTime, not a LocalDate. In the current implementation of the library, LocalDate is passed, which causes an exception.
Now kill bill requires date time in ISO format. You can look at the Kill Bill code to see for yourself. The implementation of the getLastEventBeforeDate method uses the ISO format
Activity
[-]getProductForSubscriptionAndDate[/-][+]Wrong date format in CatalogApi::getProductForSubscriptionAndDate[/+]felixgonschorek commentedon Jul 17, 2024
The same is true for the endpoint 1.0/kb/catalog/phase:
When you use the api on the day, the subscription was created:
1.0/kb/catalog/phase?subscriptionId=60c6aa86-b3b4-474e-83f7-da52c4b5ed35&requestedDate=2024-07-17the response is http status 400:
2024-07-17is before the subscription start date(I think the date get's truncated to the start of the day