Author: ashish
Date: Tue Mar 2 12:18:26 2010
New Revision: 917992
URL:
http://svn.apache.org/viewvc?rev=917992&view=revLog:
Applied release branch patch from jira issue OFBIZ-3528 - In payflowpro sending STREET in parameters from billing address fails if it contains special charaters. Thanks Pranay for the contribution.
Modified:
ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/verisign/PayflowPro.java
Modified: ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/verisign/PayflowPro.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/verisign/PayflowPro.java?rev=917992&r1=917991&r2=917992&view=diff==============================================================================
--- ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/verisign/PayflowPro.java (original)
+++ ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/thirdparty/verisign/PayflowPro.java Tue Mar 2 12:18:26 2010
@@ -127,7 +127,7 @@
if (ps != null) {
String street = ps.getString("address1") + (ps.get("address2") != null && ps.getString("address2").length() > 0 ? " " + ps.getString("address2") : "");
- data.put("STREET", street);
+ data.put("STREET"+"["+street.length()+"]", street);
data.put("ZIP", ps.getString("postalCode"));
}