[ https://issues.apache.org/jira/browse/OFBIZ-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Risaliti updated OFBIZ-1009: ---------------------------------- Attachment: PayPal_bug.patch Hi Jacques, this is the patch that correct the bug in order payment preference creation and I have removed an hardcoded link to paypal production. I think that this issue is currenctly present in release 4.0 but I have not tested in it. I'm sure that with this patch the issue is solved in the trunk. This are the steps to test the paypal: - configure correctly the payment.properties to go to the paypal sandbox (https://www.sandbox.paypal.com/us/cgi-bin/webscr) and configure the return url to your public ip address of the current ofbiz running application. - connect to paypal sandbox environment before open OFBiz and connect to PayPal Developer Central with your paypal buyer user - checkout an order with paypal payment on the ecommerce application. - ofbiz will redirect to paypal - login to paypal with paypal buyer user - press pay now and then return to merchant Thanks Marco > Reorganization of PayPalEvents > ------------------------------ > > Key: OFBIZ-1009 > URL: https://issues.apache.org/jira/browse/OFBIZ-1009 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk, Release Branch 4.0 > Environment: mac os x > Reporter: Marco Risaliti > Priority: Minor > Fix For: SVN trunk > > Attachments: PayPal_bug.patch > > > I have reorganizated the PayPalEvents.java performing those tasks: > - removing unused variable to avoid compile warning > - removed hardcoded error messages to use uiLabels.properties > - correct the bug that does not create the payment for the order that was > paid on PayPal > - removed an hard-coded link to production PayPal > (http://www.paypal.com/cgi-bin/webscr) and retrieved from the > payment.properties > This patch can be tested also on the front-end application on > http://www.ofbiz.it > After review and commit this patch the issue OFBIZ-175 and OFBIZ-247 can be > closed. > Thanks in advance > Marco Risaliti -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.