Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44

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

      
  1. #1
    New Member
    Join Date
    Sep 2005
    Posts
    25
    Rep Power
    0


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    20,761
    Rep Power
    573


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Sep 2005
    Posts
    25
    Rep Power
    0


    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

  4. #4
    Lurker
    Join Date
    Oct 2005
    Posts
    2
    Rep Power
    0


    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

  5. #5
    New Member
    Join Date
    Dec 2003
    Posts
    18
    Rep Power
    0


    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

  6. #6
    New Member
    Join Date
    Oct 2005
    Location
    Khokolate City
    Posts
    27
    Rep Power
    0


    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

  7. #7
    New Member
    Join Date
    Oct 2005
    Location
    Khokolate City
    Posts
    27
    Rep Power
    0


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

  8. #8
    Member CMWM's Avatar
    Join Date
    Mar 2004
    Posts
    40
    Rep Power
    0


    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?

  9. #9
    New Member
    Join Date
    Oct 2005
    Location
    Khokolate City
    Posts
    27
    Rep Power
    0


    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.

  10. #10
    Lurker castingkeepsakes's Avatar
    Join Date
    Mar 2006
    Posts
    3
    Rep Power
    0


    Default

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

Page 1 of 5 123 ... LastLast

Similar Threads

  1. PayPal IPN Issues
    By usedcpus in forum osCMax v2 Features Discussion
    Replies: 8
    Last Post: 07-25-2006, 04:55 AM
  2. Help on 2 issues Please
    By DBComics in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 04-10-2006, 07:04 PM
  3. FckEditor Issues
    By netfrugal in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-14-2006, 12:08 AM
  4. 2CO Issues
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 05-28-2004, 11:51 AM
  5. linking issues
    By Dumb_Question in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 12-28-2003, 06:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •