Posted by
Hao Jiang-4 on
May 15, 2006; 6:06pm
URL: http://ofbiz.116.s1.nabble.com/Users-PayPal-tp136968p136970.html
Hi, I've fixed it. The problem is not the email address format, which
bizdev%40userful.com is OK, but look at the URL string, it uses "&"
instead of "&", that's not acceptable.
Looking at the class
ofbiz/applications/accounting/src/org/ofbiz/accounting/thirdparty/paypal/PayPalEvents.java
at line 162,
String encodedParameters = UtilHttp.urlEncodeArgs(parameters);
then look at UtilHttp class, this will eventually call
urlEncodeArgs(parameters, true), then return "&", not "&"
so the easiest way to fix it is modify the line 162 code to
String encodedParameters = UtilHttp.urlEncodeArgs(parameters, false);
Hao
On Mon, 2006-05-15 at 04:52 -0700, rohit2006 wrote:
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users