WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Proceed to Checkout Button issue

[Resolved] Proceed to Checkout Button issue

  • Vinny
    Participant

    @usestrict

    Some third-party plugins call do_shortcode() on their own, which causes the “Proceed to Checkout” Button to go missing on the final rendering of the checkout page (“confirm your details”). The solution was to deactivate those pesky third-party plugins, like Facebook Image, but now this is being caused by Jetpack and Newsletter plugins as well.

    I had a look at the code and it’s because the “Proceed to Checkout” button is added with an include_once() call. It gets included on the first call to do_shortcode(), but not on the subsequent calls.

    Please help, as I cannot afford to deactivate Jetpack and Newsletter!

    Thanks,
    Vinny

    http://wordpress.org/extend/plugins/eshop/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Vinny
    Participant

    @usestrict

    Here’s the diff for my change.


    wp-content/plugins/eshop/checkout.php
    ===================================
    960c960
    < include_once($eshopmgincpath);
    ---
    > include($eshopmgincpath);
    1095c1095

    esmi
    Forum Moderator

    @esmi

    Thank for that. We are hoping to work in eShop to tackle this over the weekend.

    Plugin Author elfin
    Participant

    @elfin

    that is weird… Obviously I’ll need to test that it doesn’t cause errors – but hopefully I can add it into the next release. I might not get to it this weekend though.

    Vinny
    Participant

    @usestrict

    I just noticed why I did not apply it in the past – it does have a downside. Two orders are created in the system, and while one of them gets processed, the other is left in “Pending” state.

    Still, it’s a valid workaround – better to have an extra (Pending) order than to have no order at all 🙂

    I’m sure you’ll find a better solution for this soon.

    Plugin Author elfin
    Participant

    @elfin

    ahh yeah, that isn’t a solution then. But it does confirm what i thought it was, and I should still be able to correct it. It’s a long overdue issue within eShop that needs amending (if it is indeed the issue I think it is)

    Plugin Author elfin
    Participant

    @elfin

    Ok a fix is going in, but I am not 100% sure it will be suitable. To correctly remove this I would need a hefty rewrite of large portions of the plugin. Time for that project is unlikely to be found in the near future.

    Vinny
    Participant

    @usestrict

    Thanks elfin. It’s working perfectly now.

    Plugin Author elfin
    Participant

    @elfin

    had to remove that fix – it didn’t work well at all.

    Please see http://quirm.net/forum/topic.php?id=17238 though, as I need testers for a fix that should resolve this correctly.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Proceed to Checkout Button issue’ is closed to new replies.