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
{{ message }}
Repository navigation
Ruby example for calculate_TransHashSha512() is not functional #69
#68 Fixes this, but this fixed code doesn't seem to calculate the same hash that test.authorize.net/gateway/transact.dll site returns for SIM hosted page forms. Can someone verify the correct text to hash for SIM?
Hi,
Thanks for bringing this to our notice. There were some minor issues with the sample which I have fixed.
However, the SIM module has been deprecated in the latest version of the SDK. Server side support for the transHash value returned in SIM will also be discontinued and will return a null value moving forward. Please refer to the following links for MD5 based hash getting discontinued.
Hi, thanks for the response. There is no transHashSHA2 returned from test.authorize.net/gateway/transact.dll. but there is a SHA2_Hash that is populated with a hash of 30 different return parameter fields (see the referenced fork above). I understand SIM is deprecated but it is not obsolete yet so I hope that your gateway will continue to return SHA2_Hash. Could you verify?
Activity
robertwahler commentedon Mar 1, 2019
I've located the proper fields to hash in the deprecated SIM documentation and updated the SDK. I will not issue a pull request as this is not complete SIM API support. https://github.com/robertwahler/sdk-ruby/tree/SIM_lifeline
gnongsie commentedon Mar 6, 2019
Hi,
Thanks for bringing this to our notice. There were some minor issues with the sample which I have fixed.
However, the SIM module has been deprecated in the latest version of the SDK. Server side support for the
transHashvalue returned in SIM will also be discontinued and will return a null value moving forward. Please refer to the following links for MD5 based hash getting discontinued.The new field being sent for verification is
transHashSHA2, for which the sample code you referred to is valid and functional.robertwahler commentedon Mar 6, 2019
Hi, thanks for the response. There is no
transHashSHA2returned fromtest.authorize.net/gateway/transact.dll. but there is aSHA2_Hashthat is populated with a hash of 30 different return parameter fields (see the referenced fork above). I understand SIM is deprecated but it is not obsolete yet so I hope that your gateway will continue to returnSHA2_Hash. Could you verify?gnongsie commentedon Mar 13, 2019
Hi Robert,
Yes,
x_SHA2_Hashis the SIM equivalent fortransHashSHA2.Kindly refer to this document for any further doubts.
Also, may I suggest that you consider migrating to our new APIs for your integration? Please refer to this document for suggestions on how to upgrade.