Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by GetSirius

  1. I am having a problem with free shipping per product for osCommerce Online Merchant v2.3. If the weight of a product is not an even number, no decimals, the free shipping can fail and charge the customer for shipping. I installed the module a few months back and when orders started for the season some people were being charged shipping when they should not. This would only happen with certain number of products in the shopping cart. 1 or 2 and shipping was free, 3 sometimes, and most orders of 4 or more were getting charged. I had shipping weights of 1.2 and 1.5 pounds on these products. The fix I found was to change all product weights to 1 pound. That works, but I would like to use fractional pounds, some of my products only weigh an ounce. I need to use a weight to be able to charge shipping for export orders. I did not try weights other than 1 pound. The problem seems to be that Free Shipping Per Product for osCommerce Online Merchant v2.3 does not like to have fractional weights. If anyone can help with this I would sure appreciate it. - Chuck
  2. GetSirius

    USPS Rate V4, Intl Rate V2 (official support thread)

    Appears to be working for me..
  3. GetSirius

    Braintree Credentials

    Yes, that worked. App appears to be working under php5.6. I did not complete a checkout but other functions appear to be working. Thank you Harald!
  4. GetSirius

    Braintree Credentials

    Hope someone can help me.. Installed the latest Braintree App v2.010 app to a copy of my modified 2.3.4 osCommerce. First tried to install only the basic files, not the Legacy Changes. When viewing the Credentials page, the app tells me: "Parse error: syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /home/wztwnjwn/public_html/shopBraintree/includes/apps/braintree/admin/content/credentials.php on line 19" I commented out that section of the file (see code below), try to access Braintree again and received: "Parse error: syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /home/wztwnjwn/public_html/shopBraintree/includes/apps/braintree/admin/content/credentials.php on line 31" Commented out that section. The app runs OK. I was able to enter all information correctly and complete a transaction. I then installed the Legacy Changes and could not get the Merchant Currency Accounts information to stick, comes up with a blank line where my info should be, in USD (default). Started over, re-copied all files from working osCommerce 2.3.4 to a new test installation, new database, new install of Braintree 2.010 including Legacy Changes. Same story, receive the above errors. If I remove the code causing the errors, I can then see the Credentials page but can not enter the Merchant Currency Accounts information. Does not matter if I have Braintree set to Live, Sandbox, or Disabled, same result. Can anyone help me? I am ok with the basic app but would like the full package if possible. if (!class_exists('currencies')) { include(DIR_FS_CATALOG . 'includes/classes/currencies.php'); } $ma_data = []; /* if (!empty(OSCOM_APP_PAYPAL_BRAINTREE_CURRENCIES_MA)) { foreach (explode(';', OSCOM_APP_PAYPAL_BRAINTREE_CURRENCIES_MA) as $ma) { list($a, $currency) = explode(':', $ma); $ma_data[$currency] = $a; } } */ $sandbox_ma_data = []; /* if (!empty(OSCOM_APP_PAYPAL_BRAINTREE_SANDBOX_CURRENCIES_MA)) { foreach (explode(';', OSCOM_APP_PAYPAL_BRAINTREE_SANDBOX_CURRENCIES_MA) as $ma) { list($a, $currency) = explode(':', $ma); $sandbox_ma_data[$currency] = $a; } } */ $currencies = new currencies(); ?>
  5. GetSirius

    Braintree Credentials

    Yes, file exists. I do see version 2 when I go to install, just do not see it installed other than the app tab at the top.
  6. GetSirius

    PCI Compliance?

    Hello, Can anyone tell me if I will have PCI compliance problems using the Braintree Add-on for osC 2.3.4? I notice it does not use Braintree's iframes solution. I would rather not have any card data touch my website. -Thank you!
  7. GetSirius

    Braintree Credentials

    Just changed from php5.4 to php5.5 and I am able to enter the information. But the module does not load on checkout_payment.php. I do not see it in Modules > Payment. It is in the Install Module section but even if that is clicked it does not show as installed. I do have the app showing at the top of my admin page. I do have Braintree > Credentials: Merchant ID, Public Key, Private Key, and USD (default) fields filled in.
  8. GetSirius

    What are different PayPal modules

    I think this has just been done. TLS v1.2 connections. Check the paypal app page: http://addons.oscommerce.com/info/9184
  9. GetSirius

    PCI Compliance?

    Braintree says to refer to the author of the software.. Issue has been dropped, I am no longer using this version of the Braintree addon. Using 2.01 version instead: http://addons.oscommerce.com/info/9524
  10. GetSirius

    Where is the Braintree App?

    That appears to be the app for osC 2.4, not osC 2.3 I also would like to find the download for the 2.3 Braintree app. Just sent email to Harald about the broken link.
  11. GetSirius

    PCI Compliance?

    A little more detail. The add-on: http://addons.oscommerce.com/info/9080 Add-on calls https://js.braintreegateway.com/v1/braintree.js Add-on uses "data-encrypted-name" on the CVV and Card Number input fields only. All others are "name." I do have SSL on my website. Does anyone know if not using 'name' in a form field can stop that data from touching my server? Would doing so only on the card number and CVV fields be enough for PCI? I did just send this question in to Braintree, but would I like to know what other people might know about it.
  12. GetSirius

    Paypal G2 G5 VeriSign Trusted Root Certificate

    Wondering about this myself, it appears somewhat important. Can anyone tell us what this might mean for Paypal and osCommerce? THANK YOU!
  13. GetSirius

    2Checkout doesn't redirect back to my site

    May I suggest that the 2checkout module that comes with osCommerce (2.3.4) be removed and replaced with the module that 2checkout provides on github. I did this and it works perfect. Allows the pop-up 2CO payment that makes it appear to the customer that they do not leave your website. Also used this successfully on earlier 2.3 versions. Instructions on 2Checkout.com: https://www.2checkout.com/shopping-cart/oscommerce/
  14. Update.. I recently installed a shop and had the same problem as the original post, no return to the catalog after payment at 2checkout. Tried using the 2checkout module that was packed with osCommerce and it did not return to catalog after paying so I uninstalled that module. Replaced the files that came with osCommerce using the module referred to by 2checkout and it worked perfect first time. https://www.2checkout.com/shopping-cart/oscommerce/ Settings at 2checkout in addition to those provided in the link above to return customer to your catalog after payment: 2checkout.com: Account > Site Management > At the bottom of the page: Direct Return: Header Redirect (Your URL) Approved URL: http://yourSite/catalog/checkout_confirmation.php Hope this helps someone..
  15. I know this is an old thread but I though I would post this in case it helps someone. I just installed 2checkout on my 2.3.1 shop and it works fine. I used the module that 2checkout specified, not the one that came with 2.3.1 as the pre-packaged module did not return to my shop. Follow these instructions and you should have no problem with a 2.3.1 (and I assume newer) shop. https://www.2checkout.com/shopping-cart/oscommerce/
  16. GetSirius

    [Addon} Theme Switcher

    THANK YOU! That did the trick, I appreciate your help. Chuck
  17. GetSirius

    [Addon} Theme Switcher

    Trying to make theme switcher 1.4.1 work on a fresh install of osc 2.3.3 Had all green checkmarks on first install, green checkmarks on updating jQuery to 1.8.3 Error comes when I try to change Jquery UI Version 1.8.22 to 1.9.2 - The theme CSS file is the wrong version or missing! When I try to install a new theme. I am finding that no theme that I download, including Redmond, has the themes/redmond/jquery-ui-###.custom.css None of them have any "custom" files, only the .zip file contains the word custom. Upload a new theme, even though there is no "custom" file and I get the same error The theme CSS file is the wrong version or missing! Am I doing something wrong? I also find there is no option "Select the highest version number available in the radio buttons below the pulldown." on http://jqueryui.com/download/ Thanks for any help offered!
  18. I am working on a new install of osC 2.3.1 and I have been trying to find a way to offer free shipping for select products. Does anyone know of a way I can do this? I want to be able to designate certain products to be free shipping, if the customer orders only these products they get free shipping. If the customer orders products with free and not free shipping (USPS) then free shipping is not available. The ability to allow the customer to opt for upgraded (USPS Express) shipping would be a nice addition. I did this with an older osC install using the "Individual Product Shipping Prices" mod and modifying my flat rate shipping to be free shipping but that mod did not seem to work with osC 2.3, I could not find the following line in catalog/admin/categories.php: Step 3) Open catalog/admin/categories.php (skip to last mod for this file) Find: echo tep_draw_hidden_field('products_image', stripslashes($products_image_name));
  19. One more question. I would like to set things up have a higher price for quantity less than 6. Example: Less than 6 items: add $25 design fee 6-12 items: no discount, no design fee 12 - 24 items: $0.50 discount per item 25+ items: $1.00 discount per item This could be done by upping the price by $25, but that would make the item look too expensive. I tried the following but no luck. Can price increase rather than discount be done? case 20: if ($count > 24) { $disc_amount = 1 * $count; } else if ($count > 11) { $disc_amount = 0.5 * $count; } else if ($count < 6) { $disc_amount = -25; } break;
  20. That is what I want! Thank you!
  21. Wonder if I am misunderstanding this. I want to specify discounts for a product. For example if the customer buys more than 12, I would like to take $35 off the price of each item. So I do this, right? function apply_special_item_discount($id, $count, &$disc_amount) { switch($id) { case 19: if ($count > 12) { $disc_amount = 35; } break; Is this supposed to take $35 off of each item or does it only take $35 off of the order total no matter how many items over 12? I am only seeing $35 off of the order total. Fresh install of osC 2.3.1 thank you!
  22. GetSirius

    Simple Price Break Contribution

    Has anyone put this into osC 2.3.1? I gave it a try but did not have such good luck. I can see it in the admin section when entering a product and the discounts display in the catalog listings. Problems is, the discount does not show up in the check out process. Two differences were found when installing but they do not look like they should be real problems (I'm no expert): First was in /catalog/includes/classes/shopping_cart.php find (l178) : if (tep_not_null($product_info['products_url'])) Could not find the exact line but am able to place the code so the price break displays on the catalog pages. Second problem was in /catalog/admin/categories.php Could not find this exact line but the differance seems to be concerned with products_date_available. Could this be the reason the add-on is not taking the discount from the shopping cart total? Add on says - find (l292) : tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); Line as it was found in 2.3.1: tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); Thank you in advance if you are willing to help me out with this.
  23. GetSirius

    Free Shipping by product? - osC 2.3

    Thank you! If I find a way to do this I will share. I can't be the only person who needs to offer free shipping on only one or two products in a category.
  24. GetSirius

    Free Shipping by product? - osC 2.3

    THANKS for the fast reply, sorry for the delayed response, that is how life is going for me right now. First off, after looking around a little more I think I am using an old version of the modification, I just started using what I had on my computer instead of looking for updates. Also, this mod was not made for osC 2.3. So my question might be stupid to start with. Also now trying some other things to do free shipping by product but I am not good with php code. Having said that, here is the answer to your question. Drop the subject (for now) if you want! The code that is supposed to be added is as follows: Find: echo tep_draw_hidden_field('products_image', stripslashes($products_image_name)); Below it add: // INDIV_SM SHIPPING METHODS BEGIN if(is_array($_POST['shipping_methods'])){ foreach($_POST['shipping_methods'] as $val){ echo tep_draw_hidden_field('shipping_methods[]', $val); } } // INDIV_SM END
  25. GetSirius


    Did the trick, thank you very much! Any estimate of when you will feel this is ready for use in a live osCommerce? Also, I noticed another post about Categories where you said if there was enough interest you would consider adding them, count me as interested. I will try and keep up with this and do some testing for you, if there is anything specific you would like me to test/do, just let me know. My coding experience is minimal but maybe you need people with little coding knowledge to test so you can see how such people handle your auctions... thanks again.