cancel
Showing results for 
Search instead for 
Did you mean: 

Am I SHA-512 compliant?

I have a PHP site that I want to know if its using SHA-512 or MD5.    I think its authorizenet 1.8.6.2 for PHP SDK I'm using.

 

This is how I process a credit card transaction (keys changed to protect the innocent):

require 'includes/authorize/vendor/autoload.php';
use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController;
$merchantAuthentication = new AnetAPI\MerchantAuthenticationType();
...
$merchantAuthentication->setName("***");
$merchantAuthentication->setTransactionKey("****");

The setName comes from out API Login ID: in the web admin Settings -> API Credentials & Keys page.  eg. Settings page

 

Is this all I need to make sure if happening then?  Or am I missing something?

 

scottg12
Member
2 REPLIES 2
You are using both and you’re using neither. You’re using both because right now both are returned in the response object of the API call. You’re using neither because to do anything with them you have to write some sort of code. Neither of these are required for the API to work. You can do a validation of the response if you wish. That’s about all you have use for. I’ve got working php code for the validation. Hold on and I’ll get you the thread.
Renaissance
All Star