• Resolved sybok

    (@sybok)


    The Shopping cart worked fine until recently. Only changes were updates to wp and to plugins.

    When the user clicks the Add To Cart button the button changes to the “checked” version of the button (dark button image) but nothing happens. The cart is not updated.

    Everything works fine if users use the Chrome browser, but it seems to fail for anyone using Firefox.

    Shortcodes:

    [show_wp_shopping_cart]

    If you are joining the Saguaro Astronomy Club for the first time, select a New membership (either Individual or Family). If you join mid-year the cost is prorated on a quarterly basis.
    blah blah blah

    Membership Renewals (due January)
    [wp_cart_display_product name=”Saguaro Astronomy Club Individual Membership Renewal” price=”32.00″ description=”Regular individual membership.” thumbnail=”https://saguaroastro.org/wp-content/uploads/renewIndividual-300×169.jpg” ] [wp_cart_display_product name=”Saguaro Astronomy Club Family Membership Renewal” price=”36.00″? description=”Regular family membership.” thumbnail=”https://saguaroastro.org/wp-content/uploads/renewalfamily-300×230.jpg” ]

    Versions:
    wp: 5.7.1
    WP Simple Paypal Shopping cart: 4.5.4
    Customify Theme: 0.3.6
    php: 7.3.27

    I have 21 plugins; the site will not work if I disable them. That is a difficult test to do.

    If I switch themes, wp forgets all of the customizations I made in the Customify theme.

    I disabled caching (WP Super Cache), problem still occurs.
    Users are not logged into the site, they are all guests. Only administrators and authors have login accounts. The paypal plugin fails for both guests and logged in users when using Firefox.

    I do not know what to check to get this to work. It took 2 years to get PayPal to work. If a solution cannot be found I will need to find another plugin and start over.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, you seem to have mixed content in the above URL. Check your links in the shortcodes above. They start with https:// and it should start with https://. Fix this and I am sure your issue will be resolved.

    Let me know how you go.

    Thank you

    Thread Starter sybok

    (@sybok)

    Sharp eyes there. This was initially implemented before the SSL certificate was installed, hence the error.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    I am glad your issue is resolved.

    Enjoy the plugin.

    Thread Starter sybok

    (@sybok)

    Oops, spoke too soon. Fixed the https: code, but the problem still occurs:(

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, there are still some mixed content links in the URL above. Please use the following documentation to troubleshoot these issues.

    https://www.ads-software.com/support/article/using-your-browser-to-diagnose-javascript-errors/

    Let me know how you go.

    Thank you

    Thread Starter sybok

    (@sybok)

    I see there is a weird character in the specification of the Add to Cart button. I removed that, problem still occurs.

    I enabled script debugging, and opened the Firefox debugging console. When the page loads there are a couple of warnings about loading some of the images on the page; nothing about the Add to Cart button. For example,

    Loading mixed (insecure) display content “https://api.usno.navy.mil/imagery/moon.png?&ID=AA-URL” on a secure page

    These images are not related to the page implementing the Shopping Cart; they are in sidebars and footers. The are images from other people’s sites.

    When I click the Add To Cart button, nothing shows up in the console. No errors, etc.

    Maybe I don’t understand what you mean by mixed content links. I think it means a mixture of https:// addresses and https:// addresses. I think my links (implementing the shopping cart) are all https. Maybe you mean something else?

    Or, is there something more I can look at in the console or inspector?

    Here is the html for the button. Perhaps I am missing something here? It “acts like” the ReadForm function is not being activated.

    <form method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);">
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="1255145ec0">
    <input type="hidden" name="_wp_http_referer" value="/join-sacpaypal/">
    <input type="image" src="https://saguaroastro.org/wp-content/uploads/add-to-cart-button-green-3.png" class="wp_cart_button" alt="Add to Cart">
    <input type="hidden" name="wspsc_product" value="Saguaro Astronomy Club Individual Membership Renewal">
    <input type="hidden" name="price" value="32.00">
    <input type="hidden" name="shipping" value="0">
    <input type="hidden" name="addcart" value="1">
    <input type="hidden" name="cartLink" value="https://www.saguaroastro.org:443/join-sacpaypal/">
    <input type="hidden" name="product_tmp" value="Saguaro Astronomy Club Individual Membership Renewal">
    <input type="hidden" name="item_number" value="">
    <input type="hidden" name="thumbnail" value="https://saguaroastro.org/wp-content/uploads/renewIndividual-300x169.jpg">
    <input type="hidden" name="hash_one" value="a9a8129337e6249499e40a2d5e941707">
    <input type="hidden" name="hash_two" value="cbc6b91ea0484c005b77616a13205294">
    </form>
    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, when I type your URL in my Firefox browser the padlock tells me that some of the links are not secured like images etc. If you don’t secure these links Firefox will not allow you to process any purchasing. A plugin like the following one can help you.

    https://www.ads-software.com/plugins/https-redirection/

    Let me know if the above helps you in any way.

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shopping cart fails under Firefox’ is closed to new replies.