Forcing test transactions.

git-svn-id: http://svn.cleancode.org/svn/pickles@105 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
Josh Sherman 2009-03-07 01:18:43 +00:00
parent ad3e003a5a
commit 015f25c7b8
2 changed files with 3 additions and 2 deletions

View file

@ -86,6 +86,7 @@ class WebService_AuthorizeNet_AIM extends WebService_Common {
$login = $this->config->webservices->authorizenet_aim->login;
$transaction_key = $this->config->webservices->authorizenet_aim->transaction_key;
$test_request = 'FALSE';
$test_request = 'TRUE';
}
else {
$url = $this->test_url;

View file

@ -446,7 +446,7 @@ Email : {$email}
// Emails the shipping department
// @todo
mail('joshsherman@gmail.com', 'Menopause Solutions Order Notification', $receipt, 'From: noreply@menopausesolutions.net');
mail('weborders@menopausesolutions.net, joshsherman@gmail.com', 'Menopause Solutions Order Notification', $receipt, 'From: noreply@menopausesolutions.net');
}
$this->status = $response['response_code'];
@ -470,7 +470,7 @@ Email : {$email}
// Emails the shipping department
// @todo
mail('joshsherman@gmail.com', 'Menopause Solutions Order Notification', $receipt, 'From: noreply@menopausesolutions.net');
mail('weborders@menopausesolutions.net, joshsherman@gmail.com', 'Menopause Solutions Order Notification', $receipt, 'From: noreply@menopausesolutions.net');
}
}
else {