Skip to content

Cancel notification fails due to "Unrecognized field" #33

Description

@jolind93

When receiving a cancel notification this error is thrown

Unrecognized field "lastorderstep" (class com.trustly.api.domain.notifications.CancelNotificationData$CancelNotificationDataBuilderImpl), not marked as ignorable (6 known properties: "enduserid", "messageid", "notificationid", "attributes", "orderid", "timestamp"])
 at [Source: (String)"{"method":"cancel","params":{"data":{"orderid":"13939522683","enduserid":"18013","messageid":"b300c72e-4936-42cd-a9bc-bea1d309ffe7","timestamp":"2025-07-07 09:06:21.645014+00","lastorderstep":"SubmitEntryStep","orderstatuses":"ABORTED","notificationid":"10026535441"},"uuid":"cb90cffe-ed59-49d6-9a01-7133d5f9810b","signature":"yoALFxTBiYrkSxhcWtyllUZEAyF6Nae8d0yHYD5XrofVoEzfmRyod2RWuQ+ky5nl+ZoaWLhrEDiz1ExzKZLEahOlRrPodoh/YBGqmY+OO+kxdCxrAHkiM5KcSbAw53C8S/g8HYyeg011C5V5fQiYckti0ENyDGvM2ZaZ6LTaPJ+Re"[truncated 190 chars]; line: 1, column: 194] (through reference chain: com.trustly.api.domain.base.NotificationRequest$NotificationRequestBuilder["params"]->com.trustly.api.domain.base.NotificationRequestParams$NotificationRequestParamsBuilderImpl["data"]->com.trustly.api.domain.notifications.CancelNotificationData$CancelNotificationDataBuilderImpl["lastorderstep"])

This is when using the testing api/enviroment

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions