AuthorizeNet Server Behavior in confirm.php page
When I try to enter my AuthorizeNet credentials into the the server behavior “eCart local checkout for AuthorizeNet” by double-clicking the server behavior in the confirm.php page and entering it into the wizard = it seems that the credentials are not included into the server behavior for whatever reason (I guess it might be a dreamweaver problem).
The credentials are included into the gateways.php file which is uploaded to the server as well as the Auth_Net.php file
However - the payment is not processed and leads to the checkout_failure.php page with the error NULL which seems to me that the credentials are missing.
Checking back into the the server behavior of the confirm.php page = no credentials are visible in the wizard.
When I include the credentials (login and tran_key) directly into the source code like:
$AuthNet_required[0][$nextIndex] = "x_login";
$AuthNet_required[1][$nextIndex] = “XXXXXXXXXXXXX”;
$nextIndex = count($AuthNet_required[0]);
$AuthNet_required[0][$nextIndex] = "x_tran_key";
$AuthNet_required[1][$nextIndex] = “XXXXXXXXXXXXXX”;
rather then the preferred:
$AuthNet_required[0][$nextIndex] = "x_login";
$AuthNet_required[1][$nextIndex] = "".($WA_Authorize_Net_API_Credentials_Login_ID) ."";
$nextIndex = count($AuthNet_required[0]);
$AuthNet_required[0][$nextIndex] = "x_tran_key";
$AuthNet_required[1][$nextIndex] = "".($WA_Authorize_Net_API_Credentials_Transaction_Key) ."";
it works perfect.
It is not that big of a deal because I can put the credentials in the source code but I rather prefer to have it done as it is meant to be by eCart 6 and it also makes me nervous because I can’t figure out why this happens.
Again, my guess is that somehow my Dreamweaver is screwing up and not updating the server behavior but I am not sure.
Had anyone experienced this before and any ideas what might be the problem?
Thanks a lot and best regards,
AJ