Can’t type anything into braintree fields on checkout
-
Hello,
I have a problem with Braintree plugin on checkout page. I have approved Braintree production account, I generated the production API keys and saved them into woocommerce fields in my wordpress.
But when I came into my page (https://go-buildyourself.si/nakup/prehranski-nacrt/?clear-cart&add-to-cart=5019), I cannot type anything into braintree fields and also PayPal button is not shown.The strangest thing is that, when I go directly to my shop (https://go-buildyourself.si/trgovina/), add product to the cart and continue to checkout page, the braintree credid card fields and PayPal icon does not even show. The message I got on the site is: “Currently unavailable. Please try a different payment method.”.
I turn on logs and the “error” I got is: “Authorization Failed, please verify the user for the API credentials provided can perform transactions and that the request data is correct.”.
This is strange, because I copy paste the API credentials from my BrainTree account to WP and double check if everything is ok.
Could you please help me with that issue.
Thank you and best regards,
ReneThe page I need help with: [log in to see the link]
-
Hello,
I resolved the issue with my shop page (https://go-buildyourself.si/trgovina/), the braintree API key was not working ok..
But I still have the same problem with the page https://go-buildyourself.si/nakup/prehranski-nacrt/?clear-cart&add-to-cart=5019
So if I go to checkout page directly from cart, everything works as expected, but if I directly to the checkout page using link https://go-buildyourself.si/nakup/prehranski-nacrt/?clear-cart&add-to-cart=5019 I cannot type anything to my Braintree credit card form and also the PayPal button does not show..
Can you please help me with that problem?
Do you have any idea why it works when go directly from cart to checkout and does not work if I am using direct checkout link https://go-buildyourself.si/nakup/prehranski-nacrt/?clear-cart&add-to-cart=5019.
Thank you and kind regards,
ReneHello,
Upon check the page directly and from cart page, there is an iframe tag comes up when the page loads from cart page, which contains the text boxes, but when the page is loaded directly, the iframe code is missing.
Please have a look at the following screenshots https://prntscr.com/iimgg2 , https://prntscr.com/iimgx7.
Can you help me with that? So that also the direct link will contain the iframe (or something that the fields will be editable from direct link).
I look forward to hearing from you,
ReneHi Rene,
Would you mind performing a conflict check as outlined here to rule out a theme/ plugin conflict?
Hi,
I will try that in a few hours and get bact to you.
Thanks,
ReneHello,
I tried to diable all plugins (except Woocommerce and Braintree payment gateway) and switch theme to Twenty Seventeen, but the problem is still the same.
When I add the item to the cart using url parameters (https://go-buildyourself.si/nakup/prehranski-nacrt/?clear-cart&add-to-cart=5019) and show the woocommerce checkout page using shortcode [woocommerce_checkout], I cannot type anything to my Braintree credit card form and also the PayPal button does not show..
As I described above, when checkout page is loaded from cart page there is an iframe tag comes up when, which contains the text boxes, but when the page is loaded directly, the iframe code is missing.
Regards,
ReneHi renko,
Looking into this further we see that there are items blocking the i-frame from showing: https://d.pr/free/i/XRMzBv . This usually points to a theme or other plugin conflict (still, even though you performed the troubleshooting). Can you post your WooCommerce status area here, located under WooCommerce > Status?
Hi nixiack8,
I copied everything from status Woocommerce window below. If you need any additional info. please do not hesitate to contact me. Thanks for support.
///WooCommerce > Status
### WordPress Environment ### Home URL: https://go-buildyourself.si Site URL: https://go-buildyourself.si WC Version: 3.3.1 Log Directory Writable: ? WP Version: 4.9.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: sl_SI ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.0.28 PHP Post Max Size: 10 MB PHP Time Limit: 90 PHP Max Input Vars: 1000 cURL Version: 7.58.0 OpenSSL/1.0.2n SUHOSIN Installed: – Max Upload Size: 10 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.2.6 WC Database Prefix: wpto_ Skupna velikost podatkovne zbirke: 29.58MB Velikost podatkov podatkovne zbirke: 28.42MB Velikost kazala podatkovne zbirke: 1.16MB wpto_woocommerce_sessions: Podatki: 0.04 MB + kazalo: 0.00 MB wpto_woocommerce_api_keys: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_attribute_taxonomies: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_downloadable_product_permissions: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_order_items: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_order_itemmeta: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_tax_rates: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_tax_rate_locations: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_shipping_zones: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_shipping_zone_locations: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_shipping_zone_methods: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_payment_tokens: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_payment_tokenmeta: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_woocommerce_log: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_bp_activity: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_bp_activity_meta: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_bp_friends: Podatki: 0.02 MB + kazalo: 0.03 MB wpto_bp_groups: Podatki: 0.02 MB + kazalo: 0.05 MB wpto_bp_groups_groupmeta: Podatki: 0.02 MB + kazalo: 0.03 MB wpto_bp_groups_members: Podatki: 0.02 MB + kazalo: 0.09 MB wpto_bp_messages_messages: Podatki: 0.02 MB + kazalo: 0.03 MB wpto_bp_messages_meta: Podatki: 0.02 MB + kazalo: 0.03 MB wpto_bp_messages_notices: Podatki: 0.02 MB + kazalo: 0.02 MB wpto_bp_messages_recipients: Podatki: 0.02 MB + kazalo: 0.08 MB wpto_bp_notifications: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_bp_notifications_meta: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_bp_user_blogs: Podatki: 0.02 MB + kazalo: 0.03 MB wpto_bp_user_blogs_blogmeta: Podatki: 0.02 MB + kazalo: 0.03 MB wpto_bp_xprofile_data: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_bp_xprofile_fields: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_bp_xprofile_groups: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_bp_xprofile_meta: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_commentmeta: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_comments: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_event_hours: Podatki: 0.01 MB + kazalo: 0.01 MB wpto_huge_it_videos: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_huge_it_video_params: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_huge_it_video_players: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_layerslider: Podatki: 0.06 MB + kazalo: 0.00 MB wpto_layerslider_revisions: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_links: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_options: Podatki: 2.17 MB + kazalo: 0.05 MB wpto_postmeta: Podatki: 2.40 MB + kazalo: 0.21 MB wpto_posts: Podatki: 22.83 MB + kazalo: 0.18 MB wpto_redirection_404: Podatki: 0.29 MB + kazalo: 0.07 MB wpto_redirection_groups: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_redirection_items: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_redirection_logs: Podatki: 0.01 MB + kazalo: 0.01 MB wpto_revslider_css: Podatki: 0.09 MB + kazalo: 0.00 MB wpto_revslider_layer_animations: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_revslider_navigations: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_revslider_sliders: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_revslider_slides: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_revslider_static_slides: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_signups: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_termmeta: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_terms: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_term_relationships: Podatki: 0.03 MB + kazalo: 0.07 MB wpto_term_taxonomy: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_ulp_campaigns: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_ulp_campaign_items: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_ulp_layers: Podatki: 0.17 MB + kazalo: 0.00 MB wpto_ulp_popups: Podatki: 0.05 MB + kazalo: 0.00 MB wpto_ulp_subscribers: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_ulp_targets: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_ulp_webfonts: Podatki: 0.05 MB + kazalo: 0.01 MB wpto_usermeta: Podatki: 0.02 MB + kazalo: 0.02 MB wpto_users: Podatki: 0.00 MB + kazalo: 0.01 MB wpto_wc_download_log: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_wc_webhooks: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_yith_wcwl: Podatki: 0.00 MB + kazalo: 0.00 MB wpto_yith_wcwl_lists: Podatki: 0.00 MB + kazalo: 0.01 MB ### Post Type Counts ### attachment: 95 dt_galleries: 8 dt_workouts: 4 forum: 7 gvp: 1 nav_menu_item: 11 oembed_cache: 1 page: 112 post: 3 product: 6 revision: 1548 shop_webhook: 1 topic: 5 tribe_events: 7 tribe_organizer: 2 tribe_venue: 6 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (19) ### LayerSlider WP: od Kreatura Media – 6.5.7 ActiveCampaign: od ActiveCampaign – 6.2.12 DesignThemes Core Features Plugin: od DesignThemes – 2.2 Jetpack by WordPress.com: od Automattic – 5.8 WPBakery Visual Composer: od Michael M - WPBakery.com – 5.2.1 Layered Popups: od Halfdata Inc. – 6.27 PixelYourSite: od PixelYourSite – 5.1.0 – Ni bilo preizku?eno z aktivno razli?ico WooCommerce-a Really Simple SSL: od Rogier Lankhorst – 2.5.25 Redirection: od John Godley – 3.2 Slider Revolution: od ThemePunch – 5.4.3.1 Like This: od Rose Pritchard – 1.6.2 Unyson: od ThemeFuse – 2.7.12 Visual Composer Templates Library: od SophieRepo – 1.0.2 WooCommerce PayPal Powered by Braintree Gateway: od WooCommerce – 2.1.1 WooCommerce Max Quantity: od Isabel Castillo – 1.5.1 – Ni bilo preizku?eno z aktivno razli?ico WooCommerce-a WooCommerce: od Automattic – 3.3.1 – 3.3.3 je na voljo WP Force SSL: od Kostas Vrouvas – 1.3 YITH WooCommerce Wishlist: od YITHEMES – 2.2.1 YouTube: od EmbedPlus Team – 11.8.5 ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: right Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Osnova trgovine: #5 - /trgovina/ Ko?arica: #6 - /kosarica/ Zaklju?ek nakupa: #7 - /zakljuci-nakup/ Moj ra?un: #8 - /moj-racun/ Pogoji poslovanja: ? Stran ni nastavljena ### Theme ### Name: FitnessZone Version: 3.1 Author URL: https://themeforest.net/user/designthemes/ Child Theme: ? – ?e spreminjate WooCommerce na nadrejeni temi ki je niste zgradili sami svetujemo da uporabite podrejeno temo. Kako ustvariti podrejeno temo WooCommerce Support: ? ### Templates ### Overrides: – ### Braintree (Credit Card) ### Environment: Production Tokenization Enabled: – Debug Mode: Save to Log ### Braintree (PayPal) ### Environment: Production Tokenization Enabled: – Debug Mode: Save to Log
Thanks Renko!
Looking through this and testing a few items out on our side it does look like there may be a theme or plugin conflict. I am a bit surprised that the theme does not have a few template overrides for the Checkout page, as this is usually the top culprit. If you can please do the following, and we will watch this thread closely for your response:
1. Temporarily switch your theme back to the Storefront or Twenty Seventeen Theme.
2. Disable all plugins except for WooCommerce and Stripe.
3. Test to see if the issue has been resolved.If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until you find the one causing the conflict.
Health Check is a tool that can be useful for debugging, though it requires an official default theme like Twenty Seventeen. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you while you’re logged in to that session without affecting normal visitors to your site.
Hi,
Thanks. Ok I will try one more time with theme switch and disabling all plugins.. I already did that but the error was still the same.
But I will try another time and let you know.
Best regards,
ReneThanks Renko ?? The reason I am suggesting theme and / or plugin troubleshooting is because you are not able to type into the fields, and it is common to see themes or other plugins overriding the fields and causing this issue. Let us know what you switched to if it was not Twenty Seventeen, and only keep WooCommerce/Braintree active during the test. Does Health Check show anything?
The error “Authorization Failed” usually means that the API credentials entered into WooCommerce are incorrect. I know you have already placed them in, but since we are re-hashing troubleshooting steps with theme and plugin troubleshooting, can you also please double check them, and follow this link for Authorizing WooCommerce?
If you still have your Braintree account linked to somewhere else, be sure to unlink it. If that still doesn’t work, it’s possible to regenerate a new API key from within Braintree and then add that new key to your site and see if that works for you.
Let us know the results!
We will go ahead and close this, if you have further questions or if the issue still persists please feel free to respond and let us know!
Hi nixiack8,
Sorry for late answer, I was on business trip and I did not find a time to try this out.
But now I tried everything you wrote above, but nothing solved the problem. Even if I disable all plugins except Woocommerce and Braintree and switch back to Twenty Seventeen thene using Health Check plugin, the problem is still the same.
However below I am sending you the debug information from health check plugin.
I also attached the links of screenshots.
#1 Health check basic information
https://prnt.sc/j232kq#2 Non-shop page with Woocommerce checkout (using woocommerce [woocommerce_checkout] shortcode, where I still cannot type anything into fields, even if all plugins are disabled and theme is Twenty Seventeen
https://prnt.sc/j232rg#3 Non-shop page with Woocommerce checkout (using woocommerce [woocommerce_checkout] shortcode, where PayPal button is not displayed, even if all plugins are disabled and theme is Twenty Seventeen
https://prnt.sc/j232xm#4 Default Woocommerce shop page checkout, where I can type into fields and also PayPal button is enabled.
https://prnt.sc/j233ab
https://prnt.sc/j23347##Information from health check plugin##
### WordPress ###Version: 4.9.3
Language: sl_SI
Permalink structure: /%category%/%postname%/
Is this site using HTTPS?: Da
Can anyone register on this site?: No
Default comment status: open
Is this a multisite?: No
User Count: 3
Communication with www.ads-software.com: www.ads-software.com is reachable
Create loopback requests: The loopback request to your site completed successfully.### Active theme ###
Name: Twenty Seventeen
Version: 1.4
Author: WordPressova ekipa
Author website: https://sl.www.ads-software.com/
Parent theme: Not a child theme
Supported theme features: wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, woocommerce, post-thumbnails, automatic-feed-links, title-tag, menus, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, starter-content, custom-header, widgets### Other themes (3) ###
FitnessZone (fitnesszone): Version 3.1 by designthemes
Twenty Fifteen (twentyfifteen): Version 1.9 by Ekipa WordPressa
Twenty Sixteen (twentysixteen): Version 1.4 by WordPressova ekipa### Must Use Plugins (1) ###
Health Check Disable Plugins: Version 1.3
### Active Plugins (3) ###
Health Check: Version 1.0.1 by The www.ads-software.com community
WooCommerce: Version 3.3.1 by Automattic
WooCommerce PayPal Powered by Braintree Gateway: Version 2.1.1 by WooCommerce### Inactive Plugins (29) ###
ActiveCampaign: Version 6.2.12 by ActiveCampaign
bbPress: Version 2.5.14 by The bbPress Community
BuddyPress: Version 2.9.3 by The BuddyPress Community
Contact Form 7: Version 5.0 by Takayuki Miyoshi
DesignThemes Core Features Plugin: Version 2.2 by DesignThemes
Duplicator: Version 1.2.34 by Snap Creek
Jetpack by WordPress.com: Version 5.8 by Automattic
Layered Popups: Version 6.27 by Halfdata, Inc.
LayerSlider WP: Version 6.5.7 by Kreatura Media
Like This: Version 1.6.2 by Rose Pritchard
PixelYourSite: Version 5.2.1 by PixelYourSite
Really Simple SSL: Version 2.5.25 by Rogier Lankhorst
Redirection: Version 3.2 by John Godley
s2Member Framework: Version 170722 by s2Member / WebSharks, Inc.
Slider Revolution: Version 5.4.3.1 by ThemePunch
The Events Calendar: Version 4.6.8 by Modern Tribe, Inc.
Timetable Responsive Schedule For WordPress: Version 3.9 by QuanticaLabs
Unyson: Version 2.7.12 by ThemeFuse
Visual Composer Templates Library: Version 1.0.2 by SophieRepo
WooCommerce Max Quantity: Version 1.5.1 by Isabel Castillo
WooCommerce PayPal Express Checkout Gateway: Version 1.5.1 by WooCommerce
WooCommerce PayPal Pro: Version 2.2 by wp.insider
WooCommerce Single Product Checkout: Version 0.7 by Varun Sridharan
WP-TopBar: Version 5.36 by Bob Goetz
WPBakery Visual Composer: Version 5.2.1 by Michael M – WPBakery.com
WP Force SSL: Version 1.3 by Kostas Vrouvas
WPForms Lite: Version 1.4.5.2 by WPForms
YITH WooCommerce Wishlist: Version 2.2.1 by YITHEMES
YouTube: Version 11.8.5 by EmbedPlus Team### Media handling ###
Active editor: WP_Image_Editor_Imagick
Imagick Module Version: 1684
ImageMagick Version: ImageMagick 6.9.4-10 Q16 x86_64 2017-11-14 https://www.imagemagick.org
Imagick Resource Limits:
area: 125 GB
disk: -1
file: 786432
map: 125 GB
memory: 63 GB
thread: 1
GD Version: bundled (2.1.0 compatible)
Ghostscript Version: 8.70### Server ###
Server architecture: Linux 2.6.32-896.16.1.lve1.4.51.el6.x86_64 x86_64
PHP Version: 5.6.35 (Supports 64bit values)
PHP SAPI: litespeed
PHP max input variables: 1000
PHP time limit: 300
PHP memory limit: 256M
Max input time: -1
Upload max filesize: 2M
PHP post max size: 8M
cURL Version: 7.54.0 OpenSSL/1.0.2k
SUHOSIN installed: No
Is the Imagick library available: Yes### Database ###
Extension: mysqli
Server version: 10.0.34-MariaDB
Client version: 10.0.34-MariaDB
Database prefix: wpto_### WordPress constants ###
ABSPATH: /home/gallaosc/public_html/clone.go-buildyourself.si/
WP_HOME: Undefined
WP_SITEURL: Undefined
WP_DEBUG: Disabled
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG_DISPLAY: Enabled
WP_DEBUG_LOG: Disabled
SCRIPT_DEBUG: Disabled
WP_CACHE: Disabled
CONCATENATE_SCRIPTS: Undefined
COMPRESS_SCRIPTS: Undefined
COMPRESS_CSS: Undefined
WP_LOCAL_DEV: Undefined### Filesystem permissions ###
The main WordPress directory: Writable
The wp-content directory: Writable
The uploads directory: Writable
The plugins directory: Writable
The themes directory: Writable
The Must Use Plugins directory: WritableI have the same issue as Renko above, even with using Storefront theme and all plugins disabled other than this one and WooCommerce.
Judging by Renkos last reply, a) he deserves a response and b) It should not be marked as resolved.
Not sure if this will help you, but the same error disappeared when I switched off the “3d security” option at the bottom of the settings page of the plugin (this happens if the 3D security option is not enabled by Braintree for the account).
Hi @dingdang thaks for advice. I don’t have enabled the 3D security and it still does not work.. However it looks like I have to live with this problem ??
- The topic ‘Can’t type anything into braintree fields on checkout’ is closed to new replies.