[ https://issues.apache.org/jira/browse/OFBIZ-3895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902417#action_12902417 ]
BJ Freeman commented on OFBIZ-3895: ----------------------------------- two things. I am not sure, since I don't know what the errorcode is, that what you do to resolve is correct. The code I gave was an example of how to handle the error. Paypal allows passing of data that is not used by paypal but returned to the calling code. It is important to understand what payPalCheckoutToken does in ofbiz. > Cannot be redirected to PayPal > ------------------------------ > > Key: OFBIZ-3895 > URL: https://issues.apache.org/jira/browse/OFBIZ-3895 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: Release Branch 10.04, SVN trunk > Reporter: Liang Zhang > Attachments: PayPalRedirecting.patch > > > It gets an 'internal error 10001' from Paypal in service > 'payPalSetExpressCheckout' if you have already run this service be been > redirected. > Comment these three lines out will move away this error. > if (UtilValidate.isNotEmpty(token)) { > encoder.add("TOKEN", token); > } > There is also another issue. The customer can update his/her shopping cart > then submits order successfully after he/she confirmed the payment and was > redirected back to ecommerce site. That means the customer can place an order > of the value which is higher than the total amount he/she confirmed in > Paypal. A check shall be added to avoid this issue because that would loose > money. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.