This is a discussion on Other Paypal Issues within the Paypal forums, part of the Payment Modules category; I am testing OSCMax V2 RC2 and trying to get paypal to work correctly. The transaction works correctly going to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
#1
| |||
| |||
| I am testing OSCMax V2 RC2 and trying to get paypal to work correctly. The transaction works correctly going to paypal, passing the right amounts, etc, but when the payment is made and it tries to return to my site, it comes up with this error: Fatal error: Cannot redeclare class order_total in /home/MYSITE/public_html/includes/classes/order_total.php on line 13 I've turned the auto return on, and off and tested, I've also tested with the IPN on and off. I tried with the IPN parameter set to mysite.com/checkout_process.php and mysite/checkout_success.php with the same result. It is my understanding that the passback is supposed to be checkout_process.php for the gateways to work, including paypal. My other gateway (2checkout.com) works correctly during the passback. I would like to use paypal if possible, as I do a fair number of international orders, and CC's are too risky with that. Thanks. Tim |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Tim, in /catalog/checkout_process.php uncomment line 53 (remove the two // ): Code: // $payment_modules->before_process(); Code: $payment_modules->before_process();
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Michael, You should be charging for this... that worked like a charm!! Thank you and again, give yourself a pat on the back for a job well done with RC2! Tim |
|
#4
| |||
| |||
| Hi Michael (and all), I had the identical problem as defined above and followed your instructions to the letter and now the PayPal order process completes but the "Order Process" email received no longer shows any "Available Options" under the quantity, description and price in the Products area if I pay with funds in my PayPal account but the attributes do appear when I pay with a credit card via PayPal. I've done a fresh install of the latest OSCMax V2 RC2 and only added the drop in Global Quantity Discount module. I am using the PayPal IPN module provided in OSC Max V2 RC2 but have not specified all the IPN related details and am trying to use it as is. I would be very grateful if anyone has any suggestions to share on how to get the "Available Options" to show again in the "Order Process" emails. Dreamlab |
|
#5
| |||
| |||
| Hi, I get the same error, after checking out from Paypal-site, I'm not getting redirected to my site. I'm using version 1.7. Is there also a fix for that(checkout_process.php)? thanks amilo |
|
#6
| |||
| |||
| Is there a fix for this issue Mike? Quote:
|
|
#7
| |||
| |||
| Quote:
Code: Fatal error: Cannot redeclare class order_total in /home/MYSITE/public_html/includes/classes/order_total.php on line 13 |
|
#8
| ||||
| ||||
| I tried the fix described by msasek above (thank you for all of your work!) and it fixed my paypal problems but then my authorize net curl problems came back. Reversing the fix above fixed my curl problem but the fatal error on returning to the site from paypal returned. At this time it appears I can have one or the other but not both. Can someone help? |
|
#9
| |||
| |||
| Yeah.. we join the club.. we are all still waiting for the fix for this issue so that you can use both paypal and credit card or 2CO. |
|
#10
| ||||
| ||||
| Quote:
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Posted By | For | Type | Date | |
| 145: PayPal IPN produces creates two orders - Bug Tracker - open source Commerce Maximized :: osCMax | This thread | Refback | 02-28-2007 02:15 PM | |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PayPal IPN Issues | usedcpus | osCMax v2 Features Discussion | 8 | 07-25-2006 05:55 AM |
| Help on 2 issues Please | DBComics | osCMax v1.7 Installation | 1 | 04-10-2006 08:04 PM |
| FckEditor Issues | netfrugal | osCMax v1.7 Discussion | 1 | 02-14-2006 01:08 AM |
| 2CO Issues | auntie22 | osCMax v1.7 Discussion | 0 | 05-28-2004 12:51 PM |
| linking issues | Dumb_Question | osCMax v1.7 Discussion | 0 | 12-28-2003 07:28 PM |