Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

greasemonkey

Members
  • Posts

    1,371
  • Joined

  • Last visited

  • Days Won

    25

greasemonkey last won the day on June 11 2019

greasemonkey had the most liked content!

4 Followers

Profile Information

  • Real Name
    Scott
  • Gender
    Male

Recent Profile Visitors

34,202 profile views

greasemonkey's Achievements

  1. Sorry - the above post correction was not correct. The correct change is if ( ($this->enabled == true) && ((int)OSCOM_APP_PAYPAL_BRAINTREE_CC_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . OSCOM_APP_PAYPAL_BRAINTREE_CC_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
  2. @frankl Not sure Frank is maintaining this so please ignore should you wish. There is an error in includes/modules/payment/braintree_cc.php around lines 95 if ( ($this->enabled == true) && ((int)OSCOM_APP_PAYPAL_DP_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . OSCOM_APP_PAYPAL_DP_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); Are referring to the wrong wrong zone. It should be if ( ($this->enabled == true) && ((int)OSCOM_APP_PAYPAL_BRAINTREE_DP_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . OSCOM_APP_PAYPAL_BRAINTREE_DP_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
  3. Anyone ever try this on checkout_confirmation?
  4. Ok, I got it to run.... weird (not sure why it didn't run on the index.php last night)... It ran only when I went to the product_listing
  5. @raiwa is this the correct support thread for Kiss Image Thumbnailer? The link for support in the instructions is dead http://www.oscommerce.com/forums/topic/388022-kissit-image-thumnailer/?hl=kissit I've just installed v3.0 in a new Phoenix 1.0.4.3 - and it would seem the DB install is not running on catalog page load. What triggers catalog\includes\modules\kiss_image_thumbnailer\db_install.php? Also (keep in mind I'm not nearly as smart as most...lol).... can the changes to admin/include/functions/general.php not be moved to a siteWide admin hook?
  6. Hi Brian @rastlin the file seems to be in the right place (just confirm the URL is correctly set in ShipStation - to the one I sent you in the PM). And also confirm the Unpaid Status and Paid Status in ShipStation are correct as mentioned above. They should be; unpaid paid1, paid
  7. I sent you a PM.... but first try in ShipStation to change your connection status' to: Unpaid Status to unpaid Paid Status to "paid1, paid" (just like that with the comma - without the quotes)
  8. Ok, and a screen shot of your orders status.... www.mystore.com/admin/order_status.php
  9. @rastlin lets see.... despite the error, will it allow you to connect (hit connect not test connect)? Also, can you take a screen shot (mask your store url username and password) of your details here
  10. @rastlin No I have not had any issues connecting this to any site. The file goes in your root or catalog directory - the same place that you find files such as shopping_cart.php, checkout_shipping.php etc. Example: http://www.mystore.com/shipstation_osc.php or http://www.mystore.com/catalog/shipstation_osc.php (you may have renamed the catalog like you mentioned above) http://www.mystore.com/oscommerce/shipstation_osc.php If you use ssl/https on the catalog side of your store then you need to ensure (step 4 in the instructions) the path to the file in the shipstation setup is https (ie look at your index.php does it have https - yes or no). Example: https://www.mystore.com/shipstation_osc.php or https://www.mystore.com/catalog/shipstation_osc.php (you may have renamed the catalog like you mentioned above) https://www.mystore.com/oscommerce/shipstation_osc.php Make sure the admin credentials you used in the shipstation setup are correct. Also, confirm, you have new orders in your store for SS to get and that your "pending" order status and the pending order status=1. You can confirm by navigating to https://mystore.com/admin/orders.php?status=1
  11. @rastlin I use it everyday 50 to 100 orders. note: this app is for ShipStation not Shipworks
  12. So coders, assuming I'm correct (in my testing I am...lol). How do we take the add to admin/modules.php if (is_array($value) ) { $value = implode( ", ", $value); $value = preg_replace ("/, --none--/", "", $value); } And incorporate it with the the actual shipping modules set function (in my very limited skill - the set function is building an array, which when saved, modules.php with the additional code above, is imploding the or replacing (???) the array before inserting into the configuration value) function upsxml_cfg_select_multioption($select_array, $key_value, $key = '') { $string = ''; $key_values = explode( ", ", $key_value); for ($i=0, $n=sizeof($select_array); $i<$n; $i++) { $name = ((tep_not_null($key)) ? 'configuration[' . $key . '][]' : 'configuration_value'); $string .= '<br /><input type="checkbox" name="' . $name . '" value="' . $select_array[$i] . '"'; if (in_array($select_array[$i], $key_values)) $string .= ' CHECKED'; $string .= '> ' . $select_array[$i]; } return $string; } Sorry for the cross post mods.... I was trying to keep this in one place but messed up....
  13. I've figured out the issue - just not sure how to fix it yet...
  14. Working on updating this for Phoenix - and I'm having one issue (which I believe I've confused with a similar issue on the UPS XML thread) Thank you @azpro and @ecartz for your help... and sorry if I caused any additional confusion... The issue I'm having is when "disallowing" a shipping service I'm receiving the following error: Disallow array is built here: tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Disallowed Shipping Methods', 'MODULE_SHIPPING_CANADA_POST_TYPES', '', 'Select the Canada Post services <span style=\'color: red; font-weight: bold\'>not</span> to be offered.', '6', '12', 'get_multioption_canadapost_xml', 'canadapost_cfg_select_multioption(array(\'D.RP\',\'D.EP\',\'D.XP\',\'D.XP.CERT\',\'D.PC\',\'D.LIB\',\'U.EP\',\'U.PW.ENV\',\'U.PW.PAK\',\'U.PW.PARCEL\',\'U.SP.AIR\',\'U.SP.SURF\',\'U.XP\',\'I.XP\',\'I.IP.AIR\',\'I.IP.SURF\',\'I.PW.ENV\', \'I.PW.PAK\',\'I.PW.PARCEL\',\'I.SP.AIR\',\'I.SP.SURF\'),', now())"); With this function: function canadapost_cfg_select_multioption($select_array, $key_value, $key = '') { for ($i=0; $i<sizeof($select_array); $i++) { $name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value'); $string .= '<br><input type="checkbox" name="' . $name . '" value="' . $select_array[$i] . '"'; $key_values = explode( ", ", $key_value); if ( in_array($select_array[$i], $key_values) ) $string .= ' checked="checked"'; $string .= '> ' . constant('CANADA_POST_' . get_canada_post_service_code($select_array[$i])); } $string .= '<input type="hidden" name="' . $name . '" value="--none--">'; return $string; } It would seem the result of the function = Array ... Inputting "Array" into the DB as the "disallowed" service (in place of the service code) .... hence why it cannot find the constant.... As a test, I can manually remove Array from the DB and replace it with any (multiple service codes) and it works perfectly. I have no issues on Gold, Edge/Frozen... I've attached a screen cap....
×
×
  • Create New...