Payeasy/ Dragon Pay

Have anyone here tried to implement payeasy or dragonpay? if yes, how are you able to pass the sha1 digest string to their url? they are always returning me a mismatch error. i tried swiitch library and other sha1 converter but to no avail. Any ideas? thanks in advance!:)