Signature Steps
1️⃣: Sort Parameters:Sort all non-empty parameters (excluding "sign") in ascending order by parameter name in ASCII order.
2️⃣: Concatenate Parameters:Concatenate the sorted parameters in the format: key1=value1&key2=value2&...
3️⃣: Append Secret Key:Add the merchant secret key to the end of the string in the format: &key=MERCHANT_SECRET_KEY
4️⃣: Encrypt:Perform MD5 encryption on the entire string and convert the result to uppercase.
String stringA = "amount=10000¤cy=INR&mchId=20001222&mchOrderNo=202503110001";
String stringSignTemp = stringA + "&key=YOUR_SECRET_KEY";
String sign = MD5(stringSignTemp).toUpperCase();Sign: 5E0AA05DD4BB4FE5AB65608123EBA591
