Login  Register

Re: Users - PayPal

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:

> hey, i am too getting the same error. the business email ID is shown
> bizdev%40userful.com in the paypal URL, which paypal does not accept.
> someone please help. i am using opentaps-0.9.0.
>
> rohit
> --
> View this message in context: http://www.nabble.com/Users---PayPal-t940082.html#a4390637
> Sent from the OFBiz - User forum at Nabble.com.
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users