Jump to content

bsmither

Member
  • Content Count

    14,032
  • Joined

  • Last visited

  • Days Won

    419

bsmither last won the day on June 14

bsmither had the most liked content!

Community Reputation

1,303 Excellent

Profile Information

  • Gender
    Male
  • Location
    Pacific Coast

Recent Profile Visitors

86,697 profile views
  1. If it is the case that you had CubeCart switch its debugging mode to off, then a malfunction of the new "combine" feature may have presented itself. The "combine" feature is bypassed when CubeCart's debugging mode is enabled. The combine function is building a filename having the date of 20190424073644 as a part. That's April 24, 2019 - and this cached file has a lifetime of seven days. Using FTP or the File Manager in your hosting account's control panel, find any similarly-named file in the /cache/ folder: 19796.css.foundation_DATETIME.css. Just to see if anything different happens, have CubeCart clear its internal cache. This will force new "combine" files to be created.
  2. Reading the Feature Request for this didn't completely demonstrate a well-illustrated use case. There may still be an issue with skins other than Foundation.
  3. Welcome Courtney! Glad to see you made it to the forums. Using a programmer's text editor (your hosting account's control panel has one of these), you will open /skins/foundation/templates/main.php (and main.checkout.php). Here you will find the </head> tag. You should include these additional two lines of code so that the template rendering engine (Smarty) will not get confused because it uses braces that javascript also uses. {literal} Mailerlite javascript goes here... {/literal} Then, return to CubeCart's admin and edit the Homepage document. Remove the Mailerlite code from this document.
  4. This plugin might be of interest: https://www.cubecart.com/extensions/plugins/bulk-product-editor Otherwise, the same basic approach can be accomplished by using a database utility such as phpMyAdmin.
  5. That error is coming from a different issue. You will probably want to implement the fix, but this is (probably) not related to why an order stays at Pending. So, it seems PayPal isn't logging any errors when it makes the IPN. Does PayPal show that a transaction was occuring? That is, does PayPal actually make a successful transaction with the customer? The IPN call back to PayPal is logged in CubeCart's admin, Request Log. Look there for any reference to CubeCart making this call.
  6. This is the tricky part -- to find evidence that PayPal is sending back what is called the Instant Payment Notification (IPN). PayPal is supposed to send back a POST payload to: /index.php?_g=rm&type=gateway&cmd=call&module=PayPal If the web browser successfully delivers this POST to PHP and PHP tells the web server that it ran the script successfully, then the web server sends back a 200OK response to PayPal's IPN. CubeCart then takes that data in the POST payload and makes a call back to PayPal to verify those transaction details. This call is logged in CubeCart's admin, Request Log. Note that if no IPN, then no call back, and no logging of the call. How do we discover if PayPal made the IPN? One needs to look at the web server's access log. In your hosting control panel, there will be the means to download access logs for the current day, or the current month, and possibly backup files of previous months. The relevant access log will have the URL that is the IPN (see above). Now, if there was no IPN sent (for whatever reason), or if the IPN was sent but did not get a 200OK response, then in your PayPal Merchant control panel at PayPal there should be a place that logs IPN failures for transactions. We ask that you visit your PayPal Merchant Account control panel to determine if PayPal had logged any abnormal responses to its attempts to send an IPN.
  7. If you are hosted with Havenswift, his S1 server crashed earlier today.
  8. PHP documentation says: Warning: count(): Parameter must be an array or an object that implements Countable in … // as of PHP 7.2 I think there is another instance of this. But, an edit: /classes/cart.class.php, line 1196: From: if (count($this->basket['contents']) == 0) { To: if (empty($this->basket['contents'])) { To me, using empty is easier than checking for a count of zero - which is an empty array.
  9. Changing the order's status from Pending to Processing (and then on to Complete if all-digital) is automatic -- assuming, of course, the payment gateway module and the payment processor (PayPal) are doing their jobs, and the customer actually makes payment.
  10. The Latest Products have links to images that have blank src attributes. I'm wondering if the fact that you seem to have another active CubeCart store in the root, as well as the store in /store/, that there is some confusion about which /cache/ folder to use. In admin, Error Log, System Error Log tab, see if there are any entries related to "No image (mode or path) set".
  11. We were asking that you visit your PayPal Merchant Account control panel to determine if PayPal had logged any abnormal responses to its attempts to send an IPN. We believe the "Security Header is not valid" message is because a PayPal "Sandbox" ( for testing) PayPal ID is being used on the "Live" PayPal gateway, or the PayPal "Live" PayPal ID is being used when the CubeCart gateway module is configured for testing. Or maybe the PayPal ID was mouse-highlighted from an email, and was copy-pasted into the CubeCart module text entry field. Mouse-highlighting often captures invisible spaces, tabs, and/or line endings. If this may be what happened, then we suggest manually typing in the codes.
  12. Welcome Wayne! Glad to see you made it to the forums. Depending on what you upgraded from, we have have seen several possible causes. Also, be aware that using an incorrect user/pass five times in a row creates a block against you for ten minutes. You would have seen a message if the user or pass was wrong. If that is not the case, but when you click "Login" and all you get back is another login page, then maybe having your browser clear its cookies for your site may be the solution. If that doesn't work, then we ask that you do this experiment: on the store-front, add an item to the shopping basket. Then go and view the shopping basket page. If the Shopping Basket does not show the item that you just added, then CubeCart is trying to use a method of maintaining a "session" that isn't working.
  13. Welcome aldog! Glad to see you made it to the forums. The skin template main.php is the place to add your custom javascript. You must place the javascript inside these tags: {literal}<script>...</script>{/literal} Note that CubeCart with the Foundation skin (and probably all CubeCart skins) already includes GA code. In CubeCart's admin, Store Settings, Features tab, there is an entry field for your GA ID code.
  14. I don't know if that is the actual problem. This is the tricky part -- to find evidence that PayPal is sending back what is called the Instant Payment Notification (IPN). PayPal is supposed to send back a POST payload to: /index.php?_g=rm&type=gateway&cmd=call&module=PayPal If the web browser successfully delivers this POST to PHP and PHP tells the web server that it ran the script successfully, then the web server sends back a 200OK response to PayPal's IPN. CubeCart then takes that data in the POST payload and makes a call back to PayPal to verify those transaction details. This call is logged in CubeCart's admin, Request Log. Note that if no IPN, then no call back, and no logging of the call. How do we discover if PayPal made the IPN? One needs to look at the web server's access log. In your hosting control panel, there will be the means to download access logs for the current day, or the current month, and possibly backup files of previous months. The relevant access log will have the URL that is the IPN (see above). Now, if there was no IPN sent (for whatever reason), or if the IPN was sent but did not get a 200OK response, then in your PayPal Merchant control panel at PayPal there should be a place that logs IPN failures for transactions.
  15. Then PayPal isn't sending back any info. Which actual module is it? There's a bunch of PayPal and providers of PayPal on the Marketplace: https://www.cubecart.com/extensions/payment-gateways
×
×
  • Create New...