• First of all, thank you very much for this great plugin. It works perfectly overall, and so far it’s the best PayPal plugin I’ve found.

    Unfortunately, I occasionally encounter an issue where the PayPal button does not appear in the mini-cart, but only on the “home” site littleyogihapypmind.de. *

    When I add an item to the cart directly from the “home”, sometimes the PayPal button is missing in the mini-cart. However, once I refresh the page, the button appears.

    I’ve only noticed this issue on the site “home” so far.
    When adding products to the cart from the product archive or single product, it always works fine.

    I have tried various scripts to force an update when the mini-cart is opened, but as a beginner, I experimented a bit with CSS and JavaScript via ChatGPT, but without success.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @moses1992

    The issue is it looks like your mini-cart integration is not triggering the action woocommerce_widget_shopping_cart_buttons when the item is first added to the cart and the mini-cart displays.

    That action is used by the PayPal plugin to render the container HTML that the PayPal buttons are rendered inside. Since that action is not triggered and the HTML doesn’t exist, the PayPal plugin’s JS code does not attempt to render the PayPal buttons.

    When you refresh the page, your site correctly triggers the woocommerce_widget_shopping_cart_buttons action.

    Kind Regards

    Thread Starter moses1992

    (@moses1992)

    Thank you for the quick response. I tried a few things, but my knowledge is probably not sufficient in this case. The only thing I’ve noticed is that the errors always occur on the homepage: “Set as homepage”. I don’t have this issue on any other pages; everything is rendered correctly there. I even tried creating a new page, thinking there might be an issue with the original page. However, when I create a new page with the product archive or a blank page with just the product archive, the error still occurs. Strangely, this only happens when i set the Page as “homepage/firstpage”. And it only appears in mobile Version.

    maybe Problem with caching? Because Sometimes my cookiebanner dosent reveal full size and you have to click somewhere to get it fullsize. But only on homepage

    I would appreciate any further information. If needed, I’d be happy to make a donation for your help. Alternatively, I’d be willing to share or pay for the service to resolve the issue.

    Let me know if you need any further adjustments!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.