Skip to content

Problem with OffAmazonPaymentsNotifications.NotificationsParser.ParseRawMessage  #8

@KrzysztofPajak

Description

@KrzysztofPajak

Hi,

When we run method ParseRawMessage(header, json) we get this error (below).
header and json - this paramaters comes from https://sellercentral.amazon.com/hz/me/hmi/ipn/main - sandbox account.

System.NullReferenceException: Object reference not set to an instance of an object. at OffAmazonPaymentsService.OffAmazonPaymentsServicePropertyCollection..ctor() at OffAmazonPaymentsService.OffAmazonPaymentsServicePropertyCollection.getInstance() at OffAmazonPaymentsNotifications.VerifyDataAspImpl.VerifyCertificateSubject(String subject) at OffAmazonPaymentsNotifications.VerifyDataAspImpl.VerifyCertIsIssuedByAmazon(ICertificate cert) at OffAmazonPaymentsNotifications.SnsSignatureVerification.VerifyMsgMatchesSignatureV1WithCert(Message snsMessage) at OffAmazonPaymentsNotifications.SnsMessageValidator.VerifySnsMessageWithVersion1SignatureAlgorithm(Message snsMessage) at OffAmazonPaymentsNotifications.SnsMessageValidator.ValidateMessageIsTrusted(Message snsMessage) at OffAmazonPaymentsNotifications.NotificationsParser.ParseRawMessage(NameValueCollection headers, String body)

Please help.

Regards
Krzysztof

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