CyberSource / CyberSource/cybersource-rest-samples-java

Cannot get signature hash string to work correctly

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
35
Forks
84
Avg merge
37m
Merged PRs (30d)
1

Description

I can generate the hash string and get the API call to work through Postman using the API Live Console page and allowing it to generate the hash. However I can never get the hash to work when generated through Java Code. It never generates the same one twice because of the datetime, but none of them work when I input in Postman. I'm also referencing the API guide, but I'm just not getting something right when creating the signature hash. Any ideas on things I can check?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Java signature-generation code in this repository and compare its generated values with the working Postman/API Live Console request, using the API guide as the reference. Done means identifying why the Java-generated signature is rejected and producing a repeatable request that the API accepts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, postman
Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.