Author: jleroux
Date: Tue Dec 18 03:39:11 2007
New Revision: 605187
URL: http://svn.apache.org/viewvc?rev=605187&view=rev
Log:
A patch from BJ Freeman "Allows better testing of testmode from propties file
of authorize.net" (https://issues.apache.org/jira/browse/OFBIZ-1450) -
OFBIZ-1450
Modified:
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
Modified:
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java?rev=605187&r1=605186&r2=605187&view=diff
==============================================================================
---
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
(original)
+++
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
Tue Dec 18 03:39:11 2007
@@ -371,7 +371,7 @@
boolean ret = true;
String testReq = (String)AIMProperties.get("testReq");
if(testReq != null) {
- if(testReq.equals("TRUE"))
+ if(testReq.toUpperCase().equals("TRUE"))
ret = true;
else
ret = false;