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!
Here’s the diff for my change.
Thank for that. We are hoping to work in eShop to tackle this over the weekend.
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.
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.
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)
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.
- The topic ‘Proceed to Checkout Button issue’ is closed to new replies.