Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wolfmann999

Pioneers
  • Posts

    25
  • Joined

  • Last visited

Posts posted by wolfmann999

  1. Can you give me a pointer to this fix please, I'm not finding it. My problem is that the affiliate sales record is not being added.

     

    Hi,

     

    The affiliate module 2.8.1 works well. However, if a payment service provider is used it generally fails to add the sales record because session values are lost when the customer leaves the osc site and moves to the payment service provider's pages. You can test this by allowing Cash on Delivery payments, for your site, and see if the sales record is then updated.

     

     

    The PayPal fix is as follows: this is not my fix but was posted by pbirm on the 4 Nov 2007

     

    To combine the two, open /includes/modules/payment/paypal_ipn.ph.
    
    *********************************************
    
    Find this code around line 76:
    function confirmation() {
    global $cartID, $cart_PayPal_IPN_ID, $customer_id, $languages_id, $insert_id, $order, $order_total_modules;
    
    directly below add this code:
    global $affiliate_ref, $affiliate_clientdate, $affiliate_clientbrowser, $affiliate_clientip, $affiliate_clickthroughs_id, $HTTP_SESSION_VARS;
    
    *********************************************
    
    Find this code around line 245:
    tep_session_register('cart_PayPal_IPN_ID');
    $cart_PayPal_IPN_ID = $cartID . '-' . $insert_id;
    }
    }
    return false;
    }
    
    and change to:
    tep_session_register('cart_PayPal_IPN_ID');
    $cart_PayPal_IPN_ID = $cartID . '-' . $insert_id;
    }
    }
    
    // Include OSC-AFFILIATE
    require(DIR_WS_INCLUDES . 'affiliate_checkout_process.php');
    
    return false;
    }
    
    *********************************************
    

     

    I have also been able to get the module to work with WorldPay. If anybody would like this fix please let me know and I will post here.

  2. Hi,

     

    Getting the following error when testing this module.

     

    Warning: putenv() [function.putenv]: Safe Mode warning: Cannot override protected environment variable 'LD_LIBRARY_PATH' in /home/tester/public_html/shop/includes/modules/payment/hsbc.php on line 91

     

    I would appreciate if somebody could tell me how I could go about solving this.

     

    Any help much appreciated.

     

    wolfmann

  3. Hi,

     

    In the UK we have just changed our tax rate over to 20%.

     

    As a result I have modified the googlefeeder.php file as follows:

     

    define('OPTIONS_TAX_RATE', '20.0'); //default = 0 (e.g. for 17.5% tax use 17.5)

     

    However, the prices that are created within the feed are on occasions showing a different value than oscommerce prices. For example there is, in about 10% of products, a difference of 1p in the price that is shown on google shopping and the price that is shown in the osC store. It appears the following code is doing the calculation is the googlefeeder.php page:

     

    $taxCalc = (OPTIONS_ENABLED_INCLUDE_TAX ? (OPTIONS_TAX_RATE/100) + 1 : 1);  //Do not edit

     

    Is there a simple way to harmonise the prices produced by googlefeeder.php to those produced by osCommerce?

     

    Any help much appreciated.

     

    Kind regards,

     

    Wolfmann

  4. Hi,

     

    I am experiencing some problems with this contribution.

     

    I have installed and all seems to work well. ( I get no error messages )

     

    I can change the four configuration values under Configuration section within the admin.

     

    However when I navigate to Catalog -> Subcategory textbox I get a screen that does not enable me to add a text box.

     

    I have included a screen shot below.

     

    admin_problem.gif

     

    When I click on the insert button, the same screen returns with the insert button not appearing.

     

    Any help much appreciated.

     

    Regards & thanks,

     

    wolfmann.

  5. Hi,

     

    I hope somebody can help me.

     

    When the order is parsed through to PAYPAL from oscommerce the total is incorrect ( It is not the total shown in the oscommerce shopping basket) Tax is added to the product totals but not to the shipping) This means that there is always a slight discrepancy between the shopping basket of oscommerce and paypal.

     

    I am in the UK and I want to apply VAT (TAX) to the shipping. PAYPAL does not appear to give me this option.

     

    I have installed the following contribution http://addons.oscommerce.com/info/5687 (PayPal Express Checkout Module) and all works well except for this problem.

     

    Any help much appreciated.

×
×
  • Create New...