• Resolved markwebstar

    (@markwebstar)


    I have a problem with the PayPal button disappearing when a different shipping method is selected. I’m not sure if this began when WordPress 5.8.2 was updated, or if it was a Woocommerce update or the switch to the new PayPal payment gateway.

    We have different shipping methods set up for each zone so that customers can choose between standard and tracked methods, and use the WC – APG Weight Shipping plugin to manage these different methods and calculate shipping costs by weight.

    When a product is added inside the basket and the customer goes to check out, the PayPal payment button appears below the total cost. But if a different shipping method is selected, the total cost updates correctly but the PayPal button disappears. The only way to get it back is to reload the page.

    Please could someone help me to get this functioning again so that the PayPal button is always there ? You can easily recreate the problem by adding a product at https://thevisiblepress.com/shop and proceeding from the basked towards checkout. (It is not necessary to go through the whole check out process!)

    Thank you in advance !

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, @markwebstar !

    It looks like a compatibility issue with the WooCommerce PayPal Payments plugin.

    Please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
    ?
    Please include a link to this forum thread, so that we can keep track of what’s already been done.
    ?
    We will be able to help you further there.

    Thread Starter markwebstar

    (@markwebstar)

    I have submitted a support request to WooCommerce and will report back with any resolution in case it is useful for others.

    That’s great! Thank you for that.

    I’m going to leave this thread open for a bit so you can share the solution you get for the issue with others.

    Cheers!

    Thread Starter markwebstar

    (@markwebstar)

    Woocommerce are aware of this issue with the PayPal Payments plugin and aim to fix it in a future update. Joost at Woocommerce support helped me with a workaround that seemes to have fixed the problem for me :-

    1. Add this snipet to the functions file of your theme:
    https://gist.github.com/Sirvijver/7fd5cfccaaa99b1ce90fa6f479e77eaf

    add_filter('woocommerce_paypal_payments_proceed_to_checkout_button_renderer_hook', function() {
        return 'woocommerce_after_cart';
    });

    2. Add this to your Additional CSS:
    https://gist.github.com/Sirvijver/15b34321375994a37bfb346a7c1418e2`

    .woocommerce-cart #ppc-button {
    	margin-right: 0px;
    	clear:both;
    	float:right;
    	width: 250px;
    }

    All best & stay safe !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal button disappears’ is closed to new replies.