MD5 Signature Algorithm Example:
Step:
- 1.Sort The Parameter Values In Alphabetical Order From 'a' To 'z'.Signature Is Not Included In The Sorting. Then concatenate The Parameter Values.
- 2.Concatenate The Concatenated Value From Step 1 With The Agreed Secret (key) To Get The FinalString.
- 3.Encrypt FinalString Using MD5 Hexadecimal Encryption。
- 4.Please Confirm The Case Of The Encrypted Value According To The Prompts Of The Relevant Interface.
- 5.Please Contact The ULU Platform Technical Department To Obtain The Secret (key)。
Example Request Parameters:
{
"orderNo":"GOOGLE1184043905927725057",
"channelReceipt":"null",
"gameId":1,
"uid":"dh62457163",
"amount":"9.00",
"currency":"HKD",
"extraData":"extraData",
"payChannel":2,
"signture":"4f065a34cc964a42f87787e2b44935bc"
}
Process
1.Parameter Sorting:
"amount":"9.00", "channelReceipt":"null", "currency":"HKD", "extraData":"extraData", "gameId":1, "payChannel":2, "orderNo":"GOOGLE1184043905927725057", "uid":"dh62457163",
- 2.Concatenate Sceret To Generate FinalString:
- The Secret Example Is:sdijalwd12313
9.00nullHKDextraData12GOOGLE1184043905927725057dh62457163sdijalwd12313
3.Encrypt FinalString Using MD5 Hexadecimal Encryption:
468293A578AC5B11