• Resolved su1

    (@su1)


    I’m using the Woocommerce Paypal payments extension to enable Paypal payments on my site.

    I don’t want to use the Express checkout buttons, not on my product pages, not on my cart page, and not on the checkout page. I want the customer to go through the whole checkout form (where I give important information) and only allow them to select their payment method at the very end (paypal or credit card). So I removed the Paypal “smart buttons” from everywhere under Woocommerce -> Settings -> Payments -> Paypal -> Standard Payments -> Paypal Smart Buttons.

    My problem: when I do that, the radio button allowing to pay with Paypal disappears under “Payment options” in the checkout form. I need to reactivate at least the “Express Checkout” and the “Classic Checkout” locations to get it to show up again… but in this, case, I get the “Express checkout” buttons back at the top of the page, which I don’t want!

    So is it possible to allow Paypal payments without showing the express buttons at the top, and if yes how?

    Sidenote: I’m also confronted to a bug where when I activate smart buttons only on the Express checkout or Classic Checkout page, they still show up on the Cart page.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @su1

    It would be great if you could share your current System Status Report. Especially URL of your site would be helpful to analyze the problem before sharing some solutions.

    You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button.

    Please provide those log entries on our PrivateBin. After uploading, send us the link, so we can review them in detail.

    Kind regards,
    Krystian

    Thread Starter su1

    (@su1)

    Hi, here is my status report : https://privatebin.inpsyde.com/?02e29a57dad0b99a#3moF6G4JyXK96P1fR6qTnc15ZMRpVGdzagay3PJ4NX8S

    Also, I don’t know if I should open a separate ticket, but Woocommerce says my shop is not https whereas I do have a certificate and every browser says I am https.

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @su1

    If you want the PayPal payment option to be visible at the checkout block, but prefer not to have the Express button displayed at the top of your page, implementing the script below can solve this issue, for example, through a Code snippets plugin:

    add_filter('woocommerce_paypal_payments_use_place_order_button', '__return_true');

    This script removes the smart button from the checkout page and generates a “Proceed to PayPal” button instead.

    To customize the “Proceed to PayPal” button label to suit your needs, you can use this script:

    // Change the button label - defaults to "Proceed to PayPal" add_filter('woocommerce_paypal_payments_place_order_button_text', function() { return __( 'Place order', 'woocommerce' ); });

    In the plugin settings, under the Standard Payments tab, the location must be set to “Express Checkout”.

    With this setup, you should achieve the desired effect.

    Sidenote: I’m also confronted to a bug where when I activate smart buttons only on the Express checkout or Classic Checkout page, they still show up on the Cart page.

    Let me know if the problem persists after implementing the suggested changes. While I don’t rule out the possibility of it occurring, as we’ve received a similar report from another user, we are aware of it and plan to address it in the upcoming update.

    Also, I don’t know if I should open a separate ticket, but Woocommerce says my shop is not https whereas I do have a certificate and every browser says I am https.

    This issue has been discussed here before, so I’d suggest looking for answers in the WooCommerce support area. Unfortunately, this problem falls outside our support scope, but the last response offers a smart workaround.

    If you have any further inquiries or require assistance, please do not hesitate to contact us.

    Kind regards,
    Krystian

    Thread Starter su1

    (@su1)

    Hi,

    I copied the two lines in my Code snippet plugin and activated Paypal Smart Button on the Express checkout like you said but I’m not seeing that option “Place order” anywhere on the checkout page.

    I also tried the workaround for the https problem but it’s not working for me (maybe I’ll open a separate ticket).

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @su1

    Could you share the exact code you used in Code Snippets? I’ve tested the code I provided with the same setup, and it worked well on my side. A video recording of what you’re doing might also help us to understand the problem.

    For further assistance, please consider contacting us directly. We might need to look into your system’s report or logs to understand the issue better. You can submit a support ticket through our service desk by following this link: Request Support. Don’t forget to mention the URL of this conversation in your ticket for context.

    Kind regards,
    Krystian

    Thread Starter su1

    (@su1)

    sorry I switched to the other paypal plugin which is working out of the box.

    @su1 I have the same issue – blows my mind that we can’t just disable the Smart buttons, which should still allow PayPal as one of the payment options. The two things should not be connected.

    What was the other PayPal plugin that you used?

    @inpsydekrystian I have added the code as suggested, to my Child Theme’s functions.php:

    And have ensured that “Express Checkout” is chosen in the PayPal settings:

    But this is how it looks on the Checkout page:

    The PayPal Express Checkout buttons are hidden from the top of the page, which is perfect, but there is no longer any option to choose PayPal from “Payment options” – which is all we want.

    How can this issue be solved? The reason we want this is that we don’t want to give one payment method preference over another. We want our users to see all the options available in the same area (in “Payment options”) where they will make their own choice.

    Thanks.

    @su1 and @inpsydekrystian, I have found the solution:

    1. In WooCommerce > Settings > Payments > PayPal, in the Smart Button Locations, ensure both “Classic Checkout”, and “Express Checkout” are chosen;
    2. In Appearance > Theme File Editor > functions.php, add the following line to the bottom:
      add_filter(‘woocommerce_paypal_payments_use_place_order_button’, ‘__return_true’);
      (note, you really should have a Child theme set up, so that any settings added here are not overwritten, if your theme is updated.

    For some reason, you must choose “Classic Checkout” AND “Express Checkout” in the WooCommerce settings. Only selecting either of them, without both, will mean PayPal is not shown as an option in your Checkout’s “Payment options”.

    Thread Starter su1

    (@su1)

    @jaydenl the plugin i’m using now is Paypal by Payment Plugins

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