Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #605135

    Chris G
    Participant

    I have a working store in a website, using WooCommerce and the Integrity stack. Lately, when someone clicks the Check Out button, it refreshes the page and doesn’t go to a confirmation page. The order is processed and charged and a confirmation email is sent, but when people click Check Out it appears that their order didn’t go through, so they are double ordering and it’s causing a lot of problems. This started a few weeks ago, no doubt after an update of X or WooCommerce. It’s pretty consistent. My customer, who owns the site, wants to take the site down completely because of the problems this is causing with customers. Any thoughts on how to fix this, or why this would be happening?

    #605181

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #605389

    Chris G
    Participant
    #605614

    Rue Nel
    Moderator

    Hello There,

    Thank you for providing the url of your site. Upon checking it turns out that you haven’t installed Cornerstone yet. To run X smoothly, you need to install Cornerstone plugin. All the shortcodes and its functionalities has been integrated in this plugin. You can get this plugin by going to X Addons > Extensions.
    To know more about Cornerstone, please check it out here: http://theme.co/blog/x-version-4-introducing-cornerstone/

    Hope this helps. Please let us know how it goes.

    #605817

    Chris G
    Participant

    Thank you for that information. Unfortunately, Cornerstone has killed my website. I activated it and the page refreshed to a white screen and I cannot access any admin controls. The public site likewise just showed a white screen and wouldn’t load anything. So, I renamed the plugin folder but everything is still down. The site is completely up to date (plugins, theme, etc.) as near as I can tell. So now what’s going on? Ugh.

    #605837

    Rad
    Moderator

    Hi Chris,

    In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #605930

    Chris G
    Participant
    This reply has been marked as private.
    #605936

    Paul R
    Moderator

    Hi Chris,

    Thank you for providing your login credentials.

    However your site is showing up blank on my end.

    https://www.creamofthewest.com/index.php
    https://www.creamofthewest.com/wp-login.php

    Kindly check again and let us know.

    Thanks.

    #605953

    Chris G
    Participant

    Yes, it’s blank. It went blank when I activated the Cornerstone extension. That’s the immediate problem. I cannot get into the site or see it since activating Cornerstone.

    #605971

    Rue Nel
    Moderator

    Hello There,

    In X version 4.0, you no longer need X Shortcodes. You can deactivate and delete this plugin. Please take note that X shortcodes and its functionality has been consolidated into Cornerstone.

    We went ahead and checked your site. We ended up renaming your x Shortcodes in your plugins folder. You should be able to login and test your site again.

    Please let us know how it goes.

    #606382

    Chris G
    Participant

    Thanks for bringing my site back.

    Okay, so now that the site is back up, back to the original problem: When clicking the Check Out button, the shopping cart still reloads the page (while still processing the order). This time, though, I get this message:

    SyntaxError: JSON Parse error: Unexpected identifier “Success”

    How do I get the confirmation page to come up when checking out, so that customers know their order went through?

    Thanks.

    #606577

    Jack
    Keymaster

    Hi there Chris,

    Thanks for writing back.

    I’ve checked the site, by enabling sandbox mode and proceeding with a test purchase.

    On checkout, there’s this error

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    This means that a plugin or theme is throwing a notice/error and breaking the ajax response which is preventing the confirmation page from showing.

    Can you first try deactivating all plugins apart from WooCommerce and your payment gateway, if it still doesn’t work, try switching to a different payment gateway (just for testing). If it works then, it will mean the payment gateway plugin is throwing the error and the author would need to update it.

    To prevent themes/plugins from outputting notices, add the following to your wp-config.php

    define('WP_DEBUG', false);
    error_reporting(0);
    @ini_set('display_errors', 0);

    Thank you!

    #607041

    Chris G
    Participant

    I disabled all of the plugins except the ones associated with WooCommerce, the payment gateway and Cornerstone, and the problem persists. Does that mean the Braintree gateway plugin is messing things up?

    #607277

    Jade
    Moderator

    Hi Chris,

    Yes. If it worked back to normal when the plugin was deactivated, that plugin was most likely causing the conflict.

    #607516

    Chris G
    Participant

    I haven’t gotten it to work normally. I can’t place an order without the gateway plugin, so I have no way of testing to see if the Braintree plugin is really the culprit. I’m just guessing based on what you’ve told me. I have disabled the shipping plugin and still get the same problem. So, if it’s a plugin problem, it’s either Braintree, Cornerstone or something in WooCommerce that is interfering. I’m not sure how to test this thing further.