Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.
This repository was archived by the owner on May 21, 2026. It is now read-only.

Notifications do not work with gson-2.x.x #1

Description

@pnnielsen

The IpnHandler.java example does not work with gson-2.x.x installed. It works fine with gson-1.7.1 and older versions. However, when the latest gson-2.3.1 is installed, a call to:

INotificationParser::parseRawMessage (HttpServletRequest req)

causes the following exception:

com.amazonservices.mws.offamazonpaymentsipn.NotificationsException: Error with message - content is not in json format
at com.amazonservices.mws.offamazonpaymentsipn.parsers.Message.
at com.amazonservices.mws.offamazonpaymentsipn.parsers.SnsNotificationParser.parseNotification
at com.amazonservices.mws.offamazonpaymentsipn.NotificationParser.parseRawMessage
at com.amazonservices.mws.offamazonpaymentsipn.NotificationParser.parseRawMessage

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