• Resolved ethan700

    (@ethan700)


    https://www.thedaddynamic.com/shop

    What I have found is that if I am on fast internet, the credit card fields will load. If I switch to poor service, like on my phone, the credit card fields will not load. So I can refresh the checkout page on fast internet, like my wifi, and the fields will appear. Then I can switch to my 4G, hit refresh, and they will not appear.

    I am on the storefront theme, and I tried this with all plugins off, so theme/plugins are not the issue (unless storefront has an issue?).

    I saw in other threads about this issue that someone had success changing “setInterval” in the javascript to a higher number, but that didn’t work for me, it actually made it worse.

    Right now, some people will see the fields, some will not, all depends on their internet and loading speed.

    Can you guys PLEASE look into the code and fix this? Otherwise, are there other payment plugins you can recommend? Thanks.

    https://www.ads-software.com/plugins/woocommerce-gateway-paypal-powered-by-braintree/

Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter ethan700

    (@ethan700)

    By the way, I am the one that found and did troubleshooting with the “stuck on hold” issue that got incorporated into the latest update. I can work with you to troubleshoot and fix this issue as well.

    Thread Starter ethan700

    (@ethan700)

    I am trying the setInterval to 2000 again in the javascript. I will keep testing this and see if I stop getting reports that the fields are unclickable.

    Thread Starter ethan700

    (@ethan700)

    2000 seems to make the fields load in too slow on fast internet. Trying 1000 now.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    We’ve seen a few reports of this – I’ll take a look into this and get back to you.

    Any update on this issue? Does updating the setInterval workaround do the trick? I’m hesitant to launch my new site with this issue outstanding. If there’s no fix, can anyone recommend any other gateways that can be integrated with PayPal and are compatible with the WooCommerce Subscriptions plugin?

    Plugin Support Mike M. a11n

    (@mikedmoore)

    Automattic Happiness Engineer

    Hi kayleythomas,

    We’re still trying to pin down the cause of this issue. Do you know if you have any type of server caching enabled? If so, can you try to disabling it temporarily to see if that helps?

    Thread Starter ethan700

    (@ethan700)

    I turned the total cache plugin off before starting to test. It is still off. It did not fix the issue.

    I have setInterval at 1250 now and it does seem to be working. However, it makes the fields load in slower, so I’m not sure it’s the best solution. I’m still waiting to see if people report issues with the fields, or if this is a definite fix.

    I updated setInterval to 2000 for now. Like Ethan said, it’s not ideal as the fields load in slower but it seems to be getting the job done for now. I’m hopeful for a more permanent solution.

    I have the same issues. The temporary fix of resetting the setInterval works. I tried 1250 and that seemed to work on desktop browsers but not mobile browsers. I than tried 2000 and that worked for both mobile browsers and desktop browsers.

    It does cause the checkout fields to load more slowly though on fast networks. Hopefully this issue will be addressed in the next plugin update or resolved on this forum thread, as this is not ideal and will only serve as temporary solution.

    We’ve had several reports about this issue and dug into it a bit. Only some of the reports could be reproduced on our own test sites. Many times they couldn’t be reproduced (meaning it’s like a hosting issue and not something we can easily pin down or fix).

    We did find one issue that could be related.

    Our extension uses this URL: https://js.braintreegateway.com/v2/braintree.js which apparently still in 2.15.5. Latest version of JS SDK v2 is 2.24.1 where the URL is https://js.braintreegateway.com/js/braintree-2.24.1.min.js.

    We fixed this with v1.2.2. Please update to the this version (just released).

    I hope that helps! ??

    I was looking at this issue and it seems that when internet connection is slow or user is using mobile (case reported by client) fields are still not loading. Are you still having problems with it or found the way to solve it?

    I also found out that braintree.js itself has browser requirements and I’m wondering if issue on mobile can be related to the old browers/systems version: https://developers.braintreepayments.com/reference/client-reference/javascript/v2/browser-support

    I’m having the same issue that has been described above. Customers report that they cannot enter their credit card information into the form. I have seen the same behavior myself, but it has been intermittent.

    I have followed the suggestion of changing the setInterval to 2000, but that is not a great experience. Please continue to look into this issue.

    I am currently running v1.2.2 and the problem still exists. I will update with any other information that I can gather to help track this issue down.

    Same issue here. The fields come up when first loading the page. When I reload the page, the fields don’t show up. Reloaded 30 times, no fields. This only happens if I refresh the page after a few seconds. If I wait a minute and then reload the page, the CC fields come back up consistently. I’m also seeing a lot of paypal nonce errors in the Braintree logs:

    07-08-2016 @ 21:56:12 – process_payment – Info: Beginning processing payment for order 118 for the amount of 363.98
    07-08-2016 @ 21:56:12 – process_payment – Info: Merchant ID = y3x8tv4wjdt7tz5k
    07-08-2016 @ 21:56:12 – process_payment – Error: The paypal_braintree_nonce was unexpectedly empty

    From this thread on the same issue:

    Incase anyone is interested, a temporary fix I have found is to change this line:

    setInterval( checkSetup, 250 );

    to

    setInterval( checkSetup, 2000 );

    Within “wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/assets/js/checkout.js”

    I am also having this issue & have had the issue for months (I’ve email WooThemes support about it many times). It seems like there is no good solution yet. Does WooThemes have any sense of when it might get fixed? I see that someone from WooThemes commented on this thread about a month ago, but wasn’t sure if it’s actively being worked on still since I see the issue still on my site.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Credit card fields working intermittently’ is closed to new replies.