Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by greasemonkey

  1. greasemonkey

    FedEx - Web Services v9

    Hi All, I have been having a hard time getting Fedex rate quotes. It would seem Fedex has stopped giving new meter ID's for the the legacy API mod Real Time Quotes (according to fedex tech support). So... I have been working with FedEx - Web Services v9, however I'm receiving the following error: Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "/home/*****/public_html/shopincludes/wsdl/RateService_v9.wsdl" in /home/*****/public_html/shop/includes/modules/shipping/fedexwebservices.php on line 67 Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '/home/*****/public_html/shopincludes/wsdl/RateService_v9.wsdl' : failed to load external entity "/home/*****/public_html/shopincludes/wsdl/RateService_v9.wsdl" in /home/******/public_html/shop/includes/modules/shipping/fedexwebservices.php:67 Stack trace: #0 /home/******/public_html/shop/includes/modules/shipping/fedexwebservices.php(67): SoapClient->SoapClient('/home/******/...', Array) #1 /home/******/public_html/shop/includes/classes/shipping.php(83): fedexwebservices->quote('') #2 /home/******/public_html/shop/checkout_shipping.php(151): shipping->quote() #3 {main} thrown in /home/******/public_html/shop/includes/modules/shipping/fedexwebservices.php on line 67 SOAP is enabled on my server... Any idea's?
  2. greasemonkey

    Facebook Shop

    I have the froogle feed addon slightly modified - to connect with a Facebook catalogue for ads (and I presume could therefore be used for a Facebook store).
  3. @burt I'm having a issue with the GTIN content module and the changes made to admin/categories.php make this work. I sell products from both the EU and North America - a combo of UPC and EAN numbers including UPC-A (12 digits) and even some UPC-E (8 digits). I have the content module set to 13 to allow for the EU 13 digit EAN numbers.... No matter what the GTIN number is - admin/categories.php it add "zero's" to make it the length of 13. I have double checked by editing the GTIN in the DB - as soon as I open and save the item in admin/categories.php it again makes the GTIN 13 digits. Could we simplify? $sql_data_array['products_gtin'] = (tep_not_null($_POST['products_gtin'])) ? str_pad(tep_db_prepare_input($_POST['products_gtin']), 14, '0', STR_PAD_LEFT) : 'null'; Just add to the array above as (below model number) 'products_gtin' => tep_db_prepare_input($_POST['products_gtin']), I think it would be best to remove the length of the string all together....
  4. @burt yes of course Gary.... I completely forgot about that thread. Just double checking my catalog feeds: Google & Facebook recognizes this format... and Amazon seems to be able to figure it out when uploading with their formatted xls... so far so good. Only issue so far is the Walmart marketplace needs to specify UPC/EAN and must match the number of digits/characters allowed for each. Ultimately, because I had my own addon previous to you adding this to the core, which didn’t consider GTIN, my DB now has a mix of 8 & 12 digit UPC, 13 Digit EAN and now 14 digit GTIN. Complicating this somewhat is our retail POS... I’ll figure this out for my needs. thanks
  5. greasemonkey

    Time for a Bottom Up Rebuild?

    @Harald Ponce de Leon cough cough
  6. greasemonkey

    Recaptcha v3 announcement

    Looks like google has figure out a way to do away with the stop sign, store fronts and cars... yay https://webmasters.googleblog.com/2018/10/introducing-recaptcha-v3-new-way-to.html?m=1
  7. greasemonkey

    Implementing Cloudflare CDN

    Super easy.... but nothing really to do with OsC. If I recall - you just add your domain to Cloudflare and change your nameservers at your host to those supplied by CF....
  8. I've developed a neat little header tag module that drops a Facebook messenger chat box into your site - so much easier than trying to get one of the live chat addons to work and its free. Connects to your Facebook (business) Page simply. I've tried it on EDGE and PHOENIX and it works perfectly (I'm sure it will work on any version... but haven't tested it). Configurable to have the chat box open on load or not (showing the Facebook Messenger Icon only). The only thing you need is your Facebook Page ID which can be found with following instructions: To find your Page ID: From News Feed, click Pages in the left side menu. Click your Page name to go to your Page. Click About in the left column. If you don't see About in the left column, click See More Scroll down to find your Page ID below More Info. Quick Edit - some need to whitelist their domains within their Facebook page: Click Settings at the top of your Page Click Messenger Platform on the left Edit whitelisted domains for your page in the Whitelisted Domains section Screencap attached Addon found here: https://apps.oscommerce.com/Apps&e18Iy&facebook-messenger-chat-box-addon
  9. greasemonkey

    Facebook Messenger Chat Box Addon

    Ok all reading this - Please confirm you’ve had to whitelist your domain? As I understand it... whitelisting may not have been “required”... but haven’t seen an install yet where it worked WITHOUT whitelisting
  10. greasemonkey

    Facebook Messenger Chat Box Addon

    @LeeFoster 👍👍 I sent you a test msg
  11. greasemonkey

    Facebook Messenger Chat Box Addon

    Just making our PM discussion public.... @LeeFoster FB page ID is correct.... Check the sort order to see if there is a conflict. Lee.... what is your sort order for this header tag? if not 0 please change to 0 and retest.... Quickly looking - do you have a login modal in your head? It has an error.... Maybe try and inactivate it....
  12. greasemonkey

    Facebook Messenger Chat Box Addon

    @LeeFoster it looks like your page id is not correct.... Use there to find it: https://findmyfbid.com/
  13. greasemonkey

    Facebook Messenger Chat Box Addon

    @LeeFoster I sent you a PM.
  14. greasemonkey

    Facebook Messenger Chat Box Addon

  15. greasemonkey

    Facebook Messenger Chat Box Addon

    @LeeFoster Have you whitelisted your domain?
  16. If anyone is interested I've created a Google Customer Review Opt-in checkout success module. https://support.google.com/merchants/topic/7095697... In particular very helpful to add customer ratings to your Google shopping ads. Notes: 1) Google does not display the review opt-in to every customer 2) You need more than 100 independent Google reviews before G will even show the Opt-in 3) A Google Merchant Center ID is required https://apps.oscommerce.com/Apps&tEV57&google-customer-review-optin-content-mod
  17. @BrockleyJohn lol.... other than me not finding this one when I searched a few days ago.... it doesn't look like it. Would have saved me a few hours.... Mine would be dramatically "simplified" (that is a polite way of saying basic). I haven't tried it on Phoenix yet... but don't see why it wouldn't. My version does not include the badge output....
  18. Like I said, it’s your time. Correct me if I’m wrong, however it’s only running on PHP 7 because of the 2.3.4“.1” hotfix that suppresses the errors. My point is.... it is not, and won’t ever be again, under development and is essential un-changed in the past 8 years. Should you scroll down just a few inches before you took the screen cap you can see the activity developed CE - which I know you’ve wrote several addons for. It just doesn’t make sense to me... “but as you were”.
  19. I mean no disrespect - but gotta ask why waste your time (it is your time to waste)? It’s still won’t run without modification on newer versions of PHP and there is an available alternative already done that is being actively developed. It’s right here in the downloads page...just like everyone always wanted... sanctioned by HPDL. https://www.oscommerce.com/Products
  20. Hey all, I deal with a lot of vendors using Shopify... I typically do not place orders with these vendors on their websites by adding products to a cart and checking out. I send them a Purchase Order from our Inventory Management system. Some of these vendors then do a manual order (from my PO) on their site and then send an email link to "Complete you Order". No login necessary.... just straight to a payment page where I enter credit card info, ApplePay or PayPal and confirm. It strikes me as a better way to deal with telephone orders. As is now.... there is no way for: 1) a customer to take responsibility for the items within their order (example: "I" told you I wanted widget123... and you sent me widget456.... even though we know they asked for widget123) and 2) for a customer to use PayPal as a payment method. @burt your "key" system - could it be used to make a set a key content modules that mimic checkout_shipping, payment, confirmation & success? It would have to be combined with some kind of manual order maker (I know there are several)..... Anyone have any thoughts on the matter? How do you handle phone orders?
  21. greasemonkey

    Auto set currency based on ip

    Alex, I modified and used this for years... 3 important points... Keep in mind - I'm not a coder... and have enough knowledge to be dangerous (I only reply because I have years of experience with this addon that should be taken into consideration that mostly has nothing to do with the code) 1) as @Jack_mcs pointed out the API is (I believe) is gone and wasn't very reliable when it was there which caused serious issues. I modified it to work with the Cloudflare which has a reliable IP country feature. If you happen to delivery your site on CF.... just replace the function with: $location = $_SERVER["HTTP_CF_IPCOUNTRY"]; 2) there is some missing logic (fail safe) - if the function (or cloudflare) doesn't return the country.... that causes the price (ALL prices) on whichever country to be 0.00. Easy to fix up if you have only 2 currencies as I do... more difficult if you are thinking more than 2. 3) MOST IMPORTANT... there are some serious SEO considerations which I tried to work around for years. Although Google has crawlers all over the world, predominately, they crawl with USA based bots in North America (think Canada and Mexico) - and if you deliver your content dynamically to the USA you will be crawled as the bots see it... as USA. This includes currency. If you are not in the USA this will cause (did for me) your structured meta tag for all google listings to display in US currency no matter where your customers are located (example: we are in Canada and all our Google search results in Canada displayed in USD while using this addon). Long story short, Google does NOT like dynamic pricing based on IP. I recently kill this addon and replaced it with a modal that delivers only to USA customers, asking if they would like to shop in USD. After this change my Google listings, within days, started to be re-crawled and displayed in my "home/default" currency. There were some other suprising results as well... example: bounce rate for USA customers dropped like a stone.... (with @burt permission I will share my modal... as it was his modal for another addon I used.... but you still need a API call that will work - again I used cloudflare)
  22. greasemonkey

    Hack attempt - is there a way to prevent this?

    @raiwa is this cleaned by tep_draw_input_field (which is sanitizing with stripslashes)? And if so... is it enough? This is definitely out of my skill range - it really is just a question. Reading about SQL injections (again I'm not sure I understand it clearly) should we not be using PDO (as in 2.4) or at minimum htmlspecialchars? Source: https://stackoverflow.com/questions/29678806/secure-all-inputs-in-php-form
  23. greasemonkey

    Hack attempt - is there a way to prevent this?

    @ArtcoInc I think the link to your review is very relevant to the thread - and the threat of this hack attempt (I can’t recall the level of detail in your review but maybe you’d update to include this potential risk).
  24. greasemonkey

    Hack attempt - is there a way to prevent this?

    As a suggestion for a different smart search that doesn’t write to your DB... try this one (I’ve been using it for a couple years... works great). https://apps.oscommerce.com/Redirect=9351
  25. greasemonkey

    Hack attempt - is there a way to prevent this?

    Sorry? Where were these huge chunks of code??????? If the code was in a file on your server - you have a HUGE issue... that is nothing to do with the file its self.