Jump to content
  • Posts

  • Joined

  • Last visited

  • Days Won


[email protected]'s Achievements


Newbie (1/14)

  • First Post
  • Collaborator Rare
  • Conversation Starter
  • Week One Done
  • One Month Later Rare

Recent Badges



  1. no, it wasn't - but I've ticked it now and saved.
  2. thanks for the reply: CubeCart Version 6.4.4 Yes, there is: <title>{$META_TITLE}</title> {include file='templates/element.meta.php'} <link href="{$CANONICAL}" rel="canonical"> <link href="{$ROOT_PATH}favicon.ico" rel="shortcut icon" type="image/x-icon"> {include file='templates/element.css.php'} {include file='templates/content.recaptcha.head.php'} {include file='templates/element.google_analytics.php'} {include file='templates/element.js_head.php'} </head> <body> Yes, that file is there - : {if isset($smarty.cookies.accept_cookies) && $smarty.cookies.accept_cookies=='true'} {literal}<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '{/literal}{$ANALYTICS}{literal}', 'auto'); ga('set', 'anonymizeIp', true); ga('send', 'pageview'); </script>{/literal} {/if}
  3. thank you for the reply - not quite sure I understand it though I don't really mind if i use that code or not, all i know is that the analytics isn't working and hasn't worked with cubecart since day one of our install (i only just found out today). I have have done is put our code in the area within store administration as that is all I thought we needed to do to get it working? What else could then be stopping it working - assuming I am not required to put any code in manually - just the analytics userid into the admin area please?
  4. Hi, I am trying to configure Google Analytics for my site. I've put in the Analytics ID number in the Store administrator settings some time ago, but it has never worked - nothing appears on the google console. I haven't however put in any tracking code as I wasn't sure where to put it. I see that it is supposed to go in the head section of every page. I've searched the forum and others have said put it in main.php - however which one? I have tried putting it in as the first entry under my templates/foundation main.php and all it does is prevent from the page from loading. Is someone able to assist as to correctly setup analytics for ALL of the pages on the website please? thanks in advance. This is the code I need to put in: <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-11031594-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-11031594-1'); </script>
  5. running this works fine: openssl s_client -CApath /etc/ssl/certs/ -connect paypal.com:443 is there anyway I can change the paypal commerce extension to reflect that URL?
  6. ok, yes, that would be good. I have found this test (to do from the server root command line) openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts | egrep -wi "G5|return" I get an error: depth=1 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert SHA2 High Assurance Server CA verify error:num=20:unable to get local issuer certificate Verify return code: 20 (unable to get local issuer certificate) so, once that is fixed, I'm assuming I can revert to the other extension.
  7. thanks Al. Just tested that and it worked perfectly first time. I guess I'll have to fix the curl issue !!
  8. hmm, that's not good Is there another paypal extension we can try with Cubecart please?
  9. no, it is virtualmin - but I have root access to the server. we run prestashop on another of our sites with paypal check out and that works fine though?
  10. lots of stuff !! The RED errors are: Error: cURL Error (22): NSS: client certificate not found (nickname not specified) Response received (422 - Unprocessable Entity) i found your other thread about the Curl error. I've updated our server to OpenSSL 1.1.1 - which is the latest. Tried again, but still get this error in the log: Request Sent (cURL) - https://api.paypal.com/v1/identity/generate-token Error:cURL Error (22): NSS: client certificate not found (nickname not specified) Response received (400 - Bad Request) so, the response has changed from 422 to 400.
  • Create New...