osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Other Paypal Issues

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion > Payment Modules > Paypal

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1  
Old 09-23-2005, 09:15 AM
New Member
 
Join Date: Sep 2005
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
timbrrr
Default osCMax Paypal IPN Issues and solutions

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 09-23-2005, 09:19 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,992
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Other Paypal issues

Tim, in /catalog/checkout_process.php uncomment line 53 (remove the two // ):
Code:
// $payment_modules->before_process();
and comment out line 69 (add two // to the beginning of the line):
Code:
$payment_modules->before_process();
That should fix it.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-23-2005, 09:29 AM
New Member
 
Join Date: Sep 2005
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
timbrrr
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-18-2005, 04:56 PM
Lurker
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dreamlab
Default RE: Other Paypal issues

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-20-2005, 07:56 AM
New Member
 
Join Date: Dec 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
amilo
Default Paypal IPN

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 12-12-2005, 10:43 PM
New Member
 
Join Date: Oct 2005
Location: Khokolate City
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
HipHopServers
Default Re: RE: Other Paypal issues

Is there a fix for this issue Mike?


Quote:
Originally Posted by dreamlab
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 12-18-2005, 05:38 PM
New Member
 
Join Date: Oct 2005
Location: Khokolate City
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
HipHopServers
Default Re: RE: Other Paypal issues

Quote:
Originally Posted by msasek
Tim, in /catalog/checkout_process.php uncomment line 53 (remove the two // ):
Code:
// $payment_modules->before_process();
and comment out line 69 (add two // to the beginning of the line):
Code:
$payment_modules->before_process();
That should fix it.
I did this on two site hosted on my server running php5 and I am still getting the error message that

Code:
Fatal error: Cannot redeclare class order_total in /home/MYSITE/public_html/includes/classes/order_total.php on line 13
Error msg...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 03-15-2006, 03:41 AM
CMWM's Avatar
Member
 
Join Date: Mar 2004
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
CMWM
Default RE: Re: RE: Other Paypal issues

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 03-15-2006, 06:54 AM
New Member
 
Join Date: Oct 2005
Location: Khokolate City
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
HipHopServers
Default RE: Re: RE: Other Paypal issues

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 03-15-2006, 05:31 PM
castingkeepsakes's Avatar
Lurker
 
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
castingkeepsakes
Default

Quote:
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?
We also join the club . . .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/paypal/5240-other-paypal-issues.html

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

Similar Threads

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


All times are GMT -8. The time now is 07:36 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax