sammysumer Posted November 15, 2013 Posted November 15, 2013 Hi everyone Recently I have migrated a client website to another host and everything is working except for osCommerce built in PayPal module. The problem is that every time someone pays via paypal they receive about 7-8 emails and the customers are getting irritated. We have received the following email from Paypal ============================================================================================================ Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing: https://www.holisticanimalmedicines.com/store/ext/modules/payment/paypal_ipn/ipn.php?language=english If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account. Thank you for your prompt attention to this issue. ============================================================================================================ I have checked the error log and found this fatal error HP Catchable fatal error: Object of class order could not be converted to string in /usr/local/pem/vhosts/124059/webspace/httpdocs/store/ext/modules/payment/paypal_ipn/ipn.php on line 395 This is how the line 395 looks like ================================ for ($i=0, $n=sizeof($$order->totals); $i<$n; $i++) { $order_alert .= "<font face= 'Verdana, Arial' size='2'>" . strip_tags($$order->totals[$i]['title']) . ' ' . strip_tags($$order->totals[$i]['text']) . "\n</font>"; } =============================== Any help would be greatly appreciated. I have already spend a day trying to figure out the problem
sammysumer Posted November 15, 2013 Author Posted November 15, 2013 I forgo to mention that we are using osCommerce V2.2 RC2a
♥GLWalker Posted November 15, 2013 Posted November 15, 2013 Depending how your shop is set up to interact with the PayPal IPN, IE: if your running it along side gift vouchers or points and rewards or any other contribution, you may want to remove that version. It is rather dated now and you could grab the PayPal Payments Standard module out of any of the current 2.3.xxx series and use it. Follow the community build: BS3 to osCommerce Responsive from the Get Go! Check out the new construction: Admin Gone to Total BS!
sammysumer Posted November 15, 2013 Author Posted November 15, 2013 Thanks Mr Walker The paypal used to function with no problems. the problems started after migration to a new server. so there must be some server setting or htaccess issues. Nothing in the code has changed
♥joli1811 Posted November 15, 2013 Posted November 15, 2013 Hi, Had to change from IPN recently for a customer as the old IPN was throwing a lot of errors used this paypal standard module http://addons.oscommerce.com/info/8763 Also shows the orders details in paypal page (item description, model, price, amount total, tax, shipping, etc. as this was a problem at one stage easy install worked straight out of the box. Regards Joli To improve is to change; to be perfect is to change often.
sammysumer Posted November 15, 2013 Author Posted November 15, 2013 Thanks Joli I will give it a try and let you know
sammysumer Posted November 15, 2013 Author Posted November 15, 2013 Thanks Joli I have disabled the old module and installed your recommended PayPal module. it worked perfectly. Very much apprecited. Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.