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

Type a product name