You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Prepare the parameters as per the integration document in a map
- import com.bhartipay.commons.crypto.ChecksumUtils in the class where the checksum needs to be generated
- For generateing request checksum use:
ChecksumUtils.generateCheckSum(Map<String,String>, String secretKey) function which returns checksum String.
- For validating response checksum use:
ChecksumUtils.validateResponseChecksum((Map<String,String>, String secretKey, String responseHash) function which returns true or false according to the result.