dimanche 22 septembre 2019

what is hash and formula for hash for payumoney transaction?

Error Reason Transaction failed due to incorrectly calculated hash parameter.

Corrective Action Please ensure that the hash used in transaction request is calculated using the correct formula. Please note the correct formula for calculating the value of hash: sha512(key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5||||||SALT)

Based on above formula and applying for this transaction, hash should be calculated as mentioned below : hash = sha512(gtKFFx|6d4a37d72f974386612e|11|PHP Project Subscribe|Dhanashri|email|||||||||||eCwWELxi) = {"v1":"3927a906fc16c733a3276859bdf0dbfa3fe870cadc03030049b37801bd02cfe65908e5b4e7caf3f0d32e177000abc52e6031ff8df936bf92e651f10856a9a0b1","v2":"fd8c6d50cce61f88c3260c2f87d55c7ef8bb4baa2d3b87612ca96ad0456520c8d45c41ba2c3ffb3bd5f292efa89858ae1a4b5d714bbd41ede5a6caf97994b040"} As seen above, correct hash value should have been - {"v1":"3927a906fc16c733a3276859bdf0dbfa3fe870cadc03030049b37801bd02cfe65908e5b4e7caf3f0d32e177000abc52e6031ff8df936bf92e651f10856a9a0b1","v2":"fd8c6d50cce61f88c3260c2f87d55c7ef8bb4baa2d3b87612ca96ad0456520c8d45c41ba2c3ffb3bd5f292efa89858ae1a4b5d714bbd41ede5a6caf97994b040"}

But the hash posted in the transaction request from your end was - e6a4e7fb28943b004ca7acf4fc397c39b10b53b6ffa2ddbddbddd5dbb5532e39354f68592608179a0c782b60959bb51447440356fe34e5b8433609d2f0f6f2a4

Please re-initiate a transaction with correctly calculated hash value.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire