Guest Posted November 15, 2005 Share Posted November 15, 2005 (edited) This is my first contribution. i know many people have been trying to get this to work. after alot of trial and error i did. This is just an update to the work done by the previous contributors. This fix corrects the error that was given with the oscommerce-paypal ipn V 1.1 on the paypal sute after payment was successul. after clicking return to merchant you would get a error Checkout_success.php Installation: copy the enclosed files to the respective folders or manual installation: modify : includes/modules/payment/paypal_ipn.php replace these lines: somewhere around lines 321 and 322 $parameters['return'] = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); $parameters['cancel_return'] = tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); with these: $parameters['return'] = tep_href_link('/checkout_success.php'); $parameters['cancel_return'] = tep_href_link('/checkout_payment.php'); That's it Edited November 15, 2005 by JasonL Quote Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2005 Share Posted November 16, 2005 Revised and corrected. On line 332, i had changed it to /checout_success.php, this was wrong because if a customer cancelled from paypal, they were taken to the checkou_succes page and given a link, this has been corrected to /shopping_cart.php This is my first contribution. i know many people have been trying to get this to work. after alot of trial and error i did. This is just an update to the work done by the previous contributors. This fix corrects the error that was given with the oscommerce-paypal ipn V 1.1 on the paypal sute after payment was successul. after clicking return to merchant you would get a error Checkout_success.php Installation: copy the enclosed files to the respective folders or manual installation: modify : includes/modules/payment/paypal_ipn.php replace these lines: somewhere around lines 321 and 322 $parameters['return'] = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); $parameters['cancel_return'] = tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); with these: $parameters['return'] = tep_href_link('/checkout_success.php'); $parameters['cancel_return'] = tep_href_link('/shopping_cart.php'); That's it Quote Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2005 Share Posted November 16, 2005 (edited) :D By the way my live store is Worldflavas and another shop i created fr a friend Jp onestop shop Edited November 16, 2005 by JasonL Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.