Jump to content

nepm

Members
  • Content count

    38
  • Joined

  • Last visited

Posts posted by nepm


  1. It appears in express.php: lines 846 & 848

     

    $item_params['PAYMENTREQUEST_0_SHIPPINGAMT'] = $paypal_express->format_raw($order->info['shipping_cost']);
     
    $paypal_item_total = $item_params['PAYMENTREQUEST_0_ITEMAMT'] + $item_params['PAYMENTREQUEST_0_SHIPPINGAMT'];
     
    I have to determine why free shipping contribution is not block this shippingamt passing to express.php

  2. Using Free Shipping per Product and PayPal Payments Pro (Payflow Edition) v3.0. When customer steps through the checkout process an item that is free shipping get shipping added on after leaving osc and getting into PayPal. PayPal states that shipping is being passed along from osc. I had to blank out that payment method, but still selectable via radio button at checkout and use PayPal Standard that doesn't have the issue. 

     

    Contacting PayPal support they show:

     

    paymentrequest_0_amt "14.36"
    paymentrequest_0_itemamt "2.95"
    paymentrequest_0_shippingamt "11.41"

     

    $11.41 the shipping amount is coming from osCommerce - Any idea where this can be changed to stop this activity?


  3. For catalog/admin/categories.php - removed the legacy mysql_query and used:

     

    $product_ymm_query = tep_db_query("select id, products_id, products_car_make, products_car_model, products_car_year_bof, products_car_year_eof from " . TABLE_PRODUCTS_YMM . " where id = '" . (int)$id . "'");

                while ($product_ymm = tep_db_fetch_array($product_ymm_query)) {
                  tep_db_query("insert into " . TABLE_PRODUCTS_YMM . " (id, products_id, products_car_make, products_car_model, products_car_year_bof, products_car_year_eof) values ('" . (int)$dup_products_id . "', '" . tep_db_input($product_ymm['products_car_make']) . "', '" . tep_db_input($product_ymm['products_car_model']) . "', '" . tep_db_input($product_ymm['products_car_year_bof']) . "','" . tep_db_input($product_ymm['products_car_year_eof']) . "')");
                }

  4. Same behavior in Firefox 40.0.2 where customer is sent back to the shopping cart. Removed within PayPal return to store as well as the Payment Data Transfer as had to. If you decide to return to oscommerce website from link provided by PayPal same behavior sent back to cart with item in it. 

     

    I have used oscommerce for years without much trouble, but since 2.3.3.x upgrade the issues are too much. Due to security concerns I upgraded and also wanted to make sure that latest revisions were met.

     

    I have started the migration away from oscommerce as support for basic operations such as Payment from the creator is lacking as seen in this post. Sorry Harald, but since "B" - Brenda did not get a response and "flashnob" who expressed in German same issue, but on latest 2.3.4 - In the latest Paypal add-on it states 2.3.5 its built-in. Where can I obtain this to test it? 

     

     I will miss this product as the years invested and many custom options were utilized.


  5. I am having the exact same problem where:  After the Paypal payment is made I wait until Paypal redirects. Instead of being returned to the checkout_success.php page, I was returned to the shopping cart and the item he purchased was still in his shopping cart. The correct redirect is set in PayPal. I installed the latest PayPal oscommerce add-on - http://addons.oscommerce.com/info/9184

     

    Prior to installing this latest PayPal addon I received the error message in oscommerce: 

    Could not verify the PayPal transaction. Please try again.

     

    Customer's payments were received and not. In my testing on 2.3.3.4 payment is always received, but that is with IE 11.0.9600.17959 browser. When asking customer's what OS, Browser they experience the problems with majority was Firefox latest version on Windows 7. I will test the behavior there and report back to this post. 


  6. It appears on 5/31/15 the next change is being implemented. Here's the email message that I received from USPS Webtools Support:

     

    Hello,

    Thank you for using USPS Web Tools.

    We would like to remind customers that on May 31, 2015 at 12:01 AM, CST USPS Web Tools will be implementing modifications and additional features to the U.S. Postal Service APIs. The following changes may especially impact shipping systems:

    • Origin ZIP Code required for Priority Mail International to Canada
    • Modified special services
    • Modified service IDs
    • Modified available mail classes for Merchandise Return Services

     

    Updated release notes (version 1.1) are now available on the Web Tools home page at USPS.com/webtools under the Web Tools Announcements section. Included in the release notes are the URLs of the staging environments, which are now available to developers for testing.

    To receive future Web Tools updates, follow us on Twitter @USPSWebTools. If you have any questions, encounter any issues, or have any feedback, please let us know by simply replying to this email.

    Thank you,
    USPS Web Tools Program Office


  7. Receiving this error in the log: PHP Notice: Undefined variable: product_info in catalog/includes/modules/new_products.php on line 35

     
    In the file catalog/includes/modules/new_products.php is: if(tep_products_ship_free_check($product_info['products_id']))
     
    Is this section needed in this file needed?
     
    // PRODUCTS SHIP FREE START
    $freeship_str = '';
    if(tep_products_ship_free_check($product_info['products_id']))
         $freeship_str = '<br /><span class="smallText">(' . TEXT_PRODUCT_SHIPS_FREE . ')</span>';
    //      $new_prods_content .= '<td width="33%" align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br />' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</td>';
          $new_prods_content .= '<td width="33%" align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br />' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . $freeship_str . '</td>';
    // PRODUCTS SHIP FREE END

  8. I found this document on USPS.com which has all the class id or service id: https://www.usps.com/business/web-tools-apis/2013-july-webtools-release-notes.rtf  See appendix A in the RTF document. I also spoke to USPS webtools this evening and they will be changing USPS First Class Mail to First Class Package Service. This First Class Package Service is service / class id 61, which is being returned with quote of zero. When this id 61 is enabled it might start working? I am calling back to USPS' Web Tools Technical Support hotline to see if they can give us the release date on this upcoming change. I will also reach out to this other resource: http://docs.rocketship.it/php/1-0/usps-class-ids.html


  9. Hi Jim,

     

    I changed Lines: 1629 - 1634

     
    From:
     
    case 'letter' :
                  default;
                  $FirstClassMailType = 'PARCEL';
                  break;
                } //switch( $first_class_type
                break;
     
    To:
     
    case 'parcel' :
                  default;
                  $FirstClassMailType = 'PARCEL';
                  break;
                } //switch( $first_class_type
                break; 
     
    This was the result: Quote: A service has a quoted price of zero.

    Service ID: 61
    Service Name: First-Class™ Package Service
    Service Price: 0
    Request: API=RateV4&XML=2First Class CommercialPARCEL030310303105.28RegulartruePriority Commercial030310303105.28RegulartrueExpress Commercial030310303105.28Regulartrue
    Response:
    030310303105.28REGULAR1First-Class&lt;sup&gt;&#8482;&lt;/sup&gt; Package Service0.002.250Certified Mail&lt;sup&gt;&#174;&lt;/sup&gt;truetrue3.303.306Collect on Deliverytruetrue6.956.95truefalse1Insurancetruetrue2.102.10truefalse5Registered Mail&lt;sup&gt;&#8482;&lt;/sup&gt;truetrue11.9511.95truefalse15Signature Confirmation&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue2.352.3513USPS Tracking&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue0.000.00030310303105.28VARIABLEREGULAR1Priority Mail 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt;5.755.0519Adult Signature Requiredtruetrue5.205.2020Adult Signature Restricted Deliverytruetrue5.455.459Certificate of Mailing (Form 3817)truetrue1.301.30160Certificate of Mailing (Form 3877)truetrue0.470.470Certified Mail&lt;sup&gt;&#174;&lt;/sup&gt;truetrue3.303.306Collect on Deliverytruetrue6.956.95truefalse1Ins
     urancetruetrue0.000.00truefalse5Registered Mail&lt;sup&gt;&#8482;&lt;/sup&gt;truetrue11.9511.95truefalse7Return Receipt for Merchandisetruetrue4.404.4015Signature Confirmation&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue2.352.3513USPS Tracking&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue0.000.00030310303105.28VARIABLEREGULAR1Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt;16.9513.0919Adult Signature Requiredtruetrue5.205.2020Adult Signature Restricted Deliverytruetrue5.455.456Collect on Deliverytruetrue6.956.95truefalse11Priority Mail Express Insurancetruetrue1.001.00truefalse8Return Receipttruetrue2.702.70


  10. Jim, 

     

    The email received shows more detail below. The First-Class Package Service vs. First Class Mail Parcel the latter is correct according to USPS site running a manual quote there. In their Tag Name: RateV4Request / Package / Service with enumeration=FIRST CLASS vs. enumeration=FIRST CLASS COMMERCIAL as I choose retail vs onlne rates. The Tag Name: API RateV4Request / Package / FirstClassMailType  as enumeration=PARCEL vs. enumeration=PACKAGE SERVICE which appears to be option shown. I will check the code to see if those changes would resolve this $0.00 result.

     

    Quote: A service has a quoted price of zero.

    Service ID: 61
    Service Name: First-Class™ Package Service
    Service Price: 0
    Request: API=RateV4&XML=2First Class CommercialPARCEL030310303105.28RegulartruePriority Commercial030310303105.28RegulartruePriority Commercial030310303105.28FLAT RATE ENVELOPERegulartruePriority Commercial030310303105.28SM FLAT RATE ENVELOPERegulartrueExpress Commercial030310303105.28Regulartrue
    Response:
    030310303105.28REGULAR1First-Class&lt;sup&gt;&#8482;&lt;/sup&gt; Package Service0.002.250Certified Mail&lt;sup&gt;&#174;&lt;/sup&gt;truetrue3.303.306Collect on Deliverytruetrue6.956.95truefalse1Insurancetruetrue2.102.10truefalse5Registered Mail&lt;sup&gt;&#8482;&lt;/sup&gt;truetrue11.9511.95truefalse15Signature Confirmation&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue2.352.3513USPS Tracking&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue0.000.00030310303105.28VARIABLEREGULAR1Priority Mail 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt;5.755.0519Adult Signature Requiredtruetrue5.205.2020Adult Signature Restricted Deliverytruetrue5.455.459Certificate of Mailing (Form 3817)truetrue1.301.30160Certificate of Mailing (Form 3877)truetrue0.470.470Certified Mail&lt;sup&gt;&#174;&lt;/sup&gt;truetrue3.303.306Collect on Deliverytruetrue6.956.95truefalse1Ins
     urancetruetrue0.000.00truefalse5Registered Mail&lt;sup&gt;&#8482;&lt;/sup&gt;truetrue11.9511.95truefalse7Return Receipt for Merchandisetruetrue4.404.4015Signature Confirmation&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue2.352.3513USPS Tracking&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue0.000.00030310303105.28FLAT RATE ENVELOPEREGULAR1Priority Mail 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Flat Rate Envelope5.755.0519Adult Signature Requiredtruetrue5.205.2020Adult Signature Restricted Deliverytruetrue5.455.459Certificate of Mailing (Form 3817)truetrue1.301.30160Certificate of Mailing (Form 3877)truetrue0.470.470Certified Mail&lt;sup&gt;&#174;&lt;/sup&gt;truetrue3.303.306Collect on Deliverytruetrue6.956.95truefalse1Insurancetruetrue0.000.00truefalse5Registered Mail&lt;sup&gt;&#8482;&lt;/sup&gt;truetrue11.9511.95truefalse7Return Receipt for Merchandisetruetr
     ue4.404.4015Signature Confirmation&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue2.352.3513USPS Tracking&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue0.000.00030310303105.28SM FLAT RATE ENVELOPEREGULAR1Priority Mail 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Small Flat Rate Envelope5.755.0519Adult Signature Requiredtruetrue5.205.2020Adult Signature Restricted Deliverytruetrue5.455.459Certificate of Mailing (Form 3817)truetrue1.301.30160Certificate of Mailing (Form 3877)truetrue0.470.470Certified Mail&lt;sup&gt;&#174;&lt;/sup&gt;truetrue3.303.306Collect on Deliverytruetrue6.956.95truefalse1Insurancetruetrue0.000.00truefalse5Registered Mail&lt;sup&gt;&#8482;&lt;/sup&gt;truetrue11.9511.95truefalse7Return Receipt for Merchandisetruetrue4.404.4015Signature Confirmation&lt;sup&gt;&#8482;&lt;/sup&gt; Electronictruetrue2.352.3513USPS Tracking&lt;sup&gt;&#8
     482;&lt;/sup&gt; Electronictruetrue0.000.00030310303105.28VARIABLEREGULAR1Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt;16.9513.0919Adult Signature Requiredtruetrue5.205.2020Adult Signature Restricted Deliverytruetrue5.455.456Collect on Deliverytruetrue6.956.95truefalse11Priority Mail Express Insurancetruetrue1.001.00truefalse8Return Receipttruetrue2.702.70


  11. The USPS First Class did not show and in the error log: Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in catalogdev/includes/modules/shipping/usps_codes.php on line 821, referer: catalogdev/account.php

    [Mon Mar 23 20:03:17 2015] [error] [client 64.223.144.82] PHP Warning: constant(): Couldn't find constant MODULE_SHIPPING_USPS_CODES_DOMESTIC_SERVICES_61_HANDLING in catalogdev/includes/modules/shipping/usps_codes.php on line 523, referer: catalogdev/account.php


  12. I tested it on the 2.3.4 development area and almost everything worked for domestic address. The only exception was USPS First Class Package Service is shown $0.00 which is great for customers as its a free shipping surprise, but not for the seller... It appears only if the product weight is less than 1lb


  13. Hi Jim,

     

    I have a osc 2.3.3.4 install and the Vendor Shipping Modules page doesn't show the buttons to add or remove shipping providers. Initially I installed Fedexwebservices and now I cannot disable it. The errors in the log are:

     

    [Mon Mar 24 07:06:54 2014] [error] [client 70.16.213.140] PHP Notice: Use of undefined constant FILENAME_STATS_VENDORS - assumed 'FILENAME_STATS_VENDORS' in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/admin/vendors.php on line 542, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php

    [Mon Mar 24 07:06:58 2014] [error] [client 70.16.213.140] PHP Notice: Use of undefined constant FILENAME_STATS_VENDORS - assumed 'FILENAME_STATS_VENDORS' in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/admin/vendors.php on line 542, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php?page=1&vendors_id=2

    [Mon Mar 24 07:07:00 2014] [error] [client 70.16.213.140] PHP Notice: Undefined variable: check_flag in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/includes/modules/vendors_shipping/bax.php on line 246, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php?page=1&vendors_id=3

    [Mon Mar 24 07:07:00 2014] [error] [client 70.16.213.140] PHP Notice: Use of undefined constant MODULE_SHIPPING_AIRBORNE_STATUS - assumed 'MODULE_SHIPPING_AIRBORNE_STATUS' in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/includes/languages/english/modules/vendors_shipping/dhlairborne.php on line 15, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php?page=1&vendors_id=3

    [Mon Mar 24 07:07:00 2014] [error] [client 70.16.213.140] PHP Notice: Trying to get property of non-object in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/includes/modules/vendors_shipping/dhlairborne.php on line 50, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php?page=1&vendors_id=3

    [Mon Mar 24 07:07:00 2014] [error] [client 70.16.213.140] PHP Notice: Trying to get property of non-object in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/includes/modules/vendors_shipping/fedex1.php on line 41, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php?page=1&vendors_id=3

    [Mon Mar 24 07:07:00 2014] [error] [client 70.16.213.140] PHP Notice: Trying to get property of non-object in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/includes/modules/vendors_shipping/fedex1.php on line 42, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php?page=1&vendors_id=3

    [Mon Mar 24 07:07:00 2014] [error] [client 70.16.213.140] PHP Fatal error: Call to undefined method fedexwebservices::sort_order() in /home/httpd/vhosts/neperformancemustang.com/httpdocs/catalog/admin/vendor_modules.php on line 141, referer: http://www.neperformancemustang.com/catalog/admin/vendors.php?page=1&vendors_id=3

     

    Thanks,

    Craig

×