Support » Plugin: WooCommerce PayPal Checkout Payment Gateway » Paypal button disappeared. Urgent help requested.

  • Resolved jingyansu

    (@jingyansu)


    Hello,
    I had no sales since last 24 hours (generally i get around 1k$ daily), Open checking we found out paypal button is not showing up.

    Seems like an issue after recent update. However, i am trying to revert back to previous versions, still no luck.

    Urgent help requested. I have lost huge amount of sales and revenue already.

    Thanks in advance.

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter jingyansu

    (@jingyansu)

    Update: I had to rollback to Version 1.6.21 to get it work. however, i have lost a lot due to this mistake already.

    Kindly find a solution and get back to me.

    Thanks.

    Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    We’re trying to track down some reports of some folks having issues with the buttons not showing.

    I had the same problem; people were complaining that they couldn’t check out because there was nothing to click on to complete the transaction.

    Sure enough, testing showed that the PayPal button was missing.

    I can’t post Woocommerce status here, as my site broke while trying to revert to version 1.6.21 and I ended up having to restore my site to an earlier time from backup.

    But yes – 2.0.1 caused my PayPal button to not appear. It didn’t do that for everyone, however, as I did make at least one sale during the time I had that version of the plugin installed.

    Plugin Author mattdallan

    (@mattdallan)

    Hi @jingyansu and @essmeier,

    Thanks for reporting this issue to us!

    In the latest version of PayPal Checkout (2.0.2) we have fixed a number of issues which were causing the PayPal Buttons to not load for some stores, the issues we’ve addressed include:

    – Stores that had the Payment Action set to Authorize
    – Some themes and other plugins that were loading an outdated PayPal JS file causing console/javascript errors like “paypal.Buttons is not a function”

    To help us diagnose what is causing the PayPal buttons to not load on your store, do you have a staging/test site available and are able to activate v2.0.2?

    Once 2.0.2 is activated, navigate to a page where the Paypal Buttons should be loading, if they’re still not working, open up the browser console logs and look for any Javascript errors and paste them here.

    Thanks

    My issue was the same and my console error was saying there was an undefined function, paypal.buttons was indeed the function it was referring to.

    I found the culprit to be a security plugin and after deactivating, it works now. But what exactly is the cause of this issue, I don’t quite understand, can you please elaborate.

    Just updating my situation, hopefully it helps someone. My security plugin was loading an outdated PayPal JS file causing console/javascript errors like “paypal.Buttons is not a function” as mentioned by @mattdallan

    For me, it was just a matter of turning off one of the plugin settings.

    Plugin Author mattdallan

    (@mattdallan)

    Thanks for the update @wpwench,

    > My security plugin was loading an outdated PayPal JS file causing console/javascript errors like “paypal.Buttons is not a function”

    Okay, that’s interesting and obviously not ideal that you need to deactivate a security plugin for this to work.

    In v2.0.1 of PayPal Checkout we should have fixed all issues that were related to other plugins loading the legacy PayPal JS file (checkout.js).

    It’s also not ideal that you are needing to disable this security plugin.

    Do you have a staging/test site available to diagnose what is going wrong?
    When you enable/activate this security plugin again, can you try to do a hard refresh of the webpage (i.e. command or ctrl + shift + R) and see if the problem still occurs.

    Can you also send me a link to the page where you are seeing the problem so that I can take a look.

    I would like to see what other PayPal JS files are being loaded. It’s possible there’s another conflict somewhere that we haven’t fixed yet.

    > can you please elaborate

    Yes, of course.

    In v2.0.0, we stopped loading the old checkout.js file in favour of upgrading our PayPal checkout integration to use the latest PayPal Javascript SDK (sdk/js).

    The new sdk/js integration we wrote was using the global paypal javascript variable to call new PayPal functions that didn’t exist in checkout.js, namely paypal.Buttons, and paypal.getFundingSources.

    So when there was another plugin loading checkout.js it would could cause this problem with trying to call Paypal functions that don’t exist. We quickly resolved this issue and released it in 2.0.1: https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/pull/740

    Thanks

    • This reply was modified 1 year, 6 months ago by mattdallan.

    Hello,

    I have the same problem here since May 30th.

    When I’m logged out, the Paypal button is here, everything works fine.
    If I login it disappear. So all my customers who wants to order throught their account cannot checkout.

    I have deleted the plugin, install it again but the result is the same.

    Any lead on how to solve this ?

    Thank you.

    Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    @gregc16 It’s advisable to open your own thread for issues you have, so that we can give each person time and keep issues straight.

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    Thank you for your answer.

    I just opened a new thread and I did put the information you asked in it, here the link:

    https://wordpress.org/support/topic/paypal-express-checkout-button-disappear/#new-topic-0

    I have upgraded to version 2.0.2 and everything seems to be working properly.

    I have already 2.0.2, it’s not working since May 30th

    Plugin Support Joey – a11n

    (@jricketts4)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    – Joey

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Paypal button disappeared. Urgent help requested.’ is closed to new replies.