Click here to Skip to main content
14,494,314 members
Rate this:
Please Sign up or sign in to vote.
See more:
The token is calculated as follows:
sha256(sha256(Request) + "/" + sha256(merchant + "/" + password)), where:

sha256 – calculation of data hash according to the SHA-256 algorithm and hash conversion to HEX in the uppercase format
Request – list of the “key”=”value” pairs sorted by key and separated by the “&” character
merchant – Internet shop ID 
password – value set in the PosSecret parameter

What I have tried:

Please help detail about this and provide sample sha256
Updated 26-Mar-20 0:30am
Rate this:
Please Sign up or sign in to vote.

Solution 1

Just use your favourite search engine for the words "SHA256 (language of your choice)", and follow some of the numerous documentations and examples which will show up.
Member 14783292 26-Mar-20 3:45am
Yes thanks dear

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100