osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

PayPal orders are missing the shipping address and shipping charges.

This is a discussion on PayPal orders are missing the shipping address and shipping charges. within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; The two most recent paypal orders have not included a shipping address nor were the shipping charges added to the ...

      
  1. #1
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default PayPal orders are missing the shipping address and shipping charges.

    The two most recent paypal orders have not included a shipping address nor were the shipping charges added to the order. I use the standard paypal payment module. I've received five paypal payments since migrating to osCMax. The first three worked as expected and the most recent two are missing the shipping address and shipping charges.

    Any ideas?

  2. #2
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    I've narrowed this down to customers that chose the "purchase without account" option. I tested with three different electronic payment types: My merchant credit card processor, PayPal Website Payments Standard and PayPal IPN v2.4 (which is labeled as Credit/Debit Card (via PayPal)).

    Is this the normal thing for the "purchase without account" option? If so, then this is very bad because when the shipping address is left blank, it doesn't add shipping charges to the order!

  3. #3
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    Further testing shows that this is likely a problem with Purchase Without Account .82.

    osCommerce Community Add-Ons

    I deleted the cookies and used the PWA option and it included a shipping address on the order.

    I placed another order without logging off nor deleting cookies and it included a shipping address and billing address, but the customer details (all the info in the upper left of an order: name address, phone, email...) were not included on the order.

    I placed another order without clearing cookies, but did log off and create a new account, and again the shipping address was not included on the order.

    Clearing the cookies is the only way PWA will create a 100% complete order.

  4. #4
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    Is this issue going to be addressed in the next release of oscmax? This is not good. About every 3rd or 4th order I get is missing the shipping information!

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    Have you posted this in the bugtracker?

    Regards,
    pgmarshall
    _______________________________

  6. #6
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    I have now.

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    This issue is already resolved in 2.5 and you can fix it in older versions fairly easily. See the bug report:
    0000701: PWA does not always include the Shipping Address information - osCmax Bug Tracking System
    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

  8. #8
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    For anyone interested in fixing this themselves, do this...

    In includes/application_top.php find this section of code (it's at the very bottom)

    PHP Code:
    // PWA BOF
      
    if (tep_session_is_registered('customer_id') && tep_session_is_registered('customer_is_guest') && substr(basename($PHP_SELF),0,7)=='account'tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); //THIS IS THE ORIGINAL PWA LINE
    // PWA EOF 
    You can delete it or comment out the single line.

    Below it, add this...

    PHP Code:
    // PWA - Begin
    if (tep_session_is_registered('customer_id') && (isset($HTTP_GET_VARS['products_id']) || isset($HTTP_POST_VARS['products_id']))) { 
        
    $query tep_db_query("select customers_id from " TABLE_CUSTOMERS " where customers_id = " . (int)$customer_id);
        if (
    tep_db_num_rows($query) == 0) {
            
    tep_session_unregister('customer_id');
        }
    }
    // PWA - End 
    Save the file and that should be all, but make sure and test to be certain.

  9. #9
    Member Shortbus's Avatar
    Join Date
    Jul 2010
    Posts
    56
    Rep Power
    2


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    UPDATE: The above code does not work 100% of the time. During this week, two more orders were placed that did not include any shipping info and according to the order screen they were not PWA orders.

  10. #10
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: PayPal orders are missing the shipping address and shipping charges.

    The above only addresses PWA orders. It does not address the "Back Button" bug in Paypal. See this:
    0000607: shipping costs mangled - osCmax Bug Tracking System
    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

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 9
    Last Post: 12-09-2008, 02:51 PM
  2. Shipping Charges Question.
    By rareones in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 11-07-2005, 01:05 PM
  3. No shipping charges applied??
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 14
    Last Post: 03-27-2004, 09:07 PM
  4. Zone Shipping Charges
    By finn in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-01-2003, 06:47 AM
  5. billing and shipping address missing
    By dootch in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-17-2003, 01:14 PM

Tags for this Thread

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
  •