Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with OffAmazonPaymentsNotifications.NotificationsParser.ParseRawMessage #8

Open
KrzysztofPajak opened this issue Aug 24, 2016 · 0 comments

Comments

@KrzysztofPajak
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant