Checkout form glitching, shows twice in console
-
I working on a site that will use this plugin. When I go to the checkout page the “Buy with G Pay” button will load, disappear and then load again. I have disabled all plugins except for WooCommerce and WooCommerce Square. We are using the Divi theme. I have also tried it on Chrome, Firefox, and Safari. We are currently using Square in sandbox mode. I was able to see that ?wc-ajax=square_digital_wallet_get_payment_request is triggered twice, once before ?wc-ajax=update_order_review, which I guess triggers something to run it the second time.
The page I need help with: [log in to see the link]
-
Hi,
Can you try again after switching the site’s theme to Storefront? Is the same result?
If that doesn’t make a difference, please share a copy of your site’s System Status Report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
@ihereira that did make a difference. I guess I should ask the theme maker about this issue?
Side Note: ?wc-ajax=square_digital_wallet_get_payment_request is still triggered twice
- This reply was modified 1 year, 9 months ago by Carl Brubaker. Reason: added information
Thanks for trying Igor’s solution and for confirming that the issue has been resolved when switching to the default Storefront theme.
That being said, it would be best to reach out to the theme’s developers for further assistance here.
All the best, and hopefully the issue would be fixed soon.
Hi @xue28
Apparently the issue has not been resolve. I just started working on this site again today and the issue reappeared with the Storefront theme. I disabled all the plugins except for WooCommerce and WooCommerce Square. The issue went away. I started activating plugins and found that it came back if two or three other plugins were activated. It didn’t matter which ones. It was even affected by plugins that have nothing to do with WooCommerce. I don’t know if you have any other ideas on how to resolve this. Maybe this is just par for the course with WordPress.
Hello,
I was able to see that?<strong>?wc-ajax=square_digital_wallet_get_payment_request</strong>?is triggered twice, once before?<strong>?wc-ajax=update_order_review</strong>, which I guess triggers something to run it the second time.
To take a closer look, please send screenshot about the issue on your end, you can send screenshots link in this forum via https://snipboard.io.
Please share your System Status Report, found under WooCommerce > Status on your site.
If you are receiving any error log related to this, please check under WooCommerce > System Status > Logs (if any error is visible let us know).
Here is the information you requested. I did not see any errors in the logs.
WordPress Environment WordPress address (URL): https://mindburndelivery.com
Site address (URL): https://mindburndelivery.com
WC Version: 7.4.0
REST API Version: ? 7.4.0
WC Blocks Version: ? 9.4.3
Action Scheduler Version: ? 3.5.4
Log Directory Writable: ?
WP Version: 6.1.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: ?
WP Cron: ?
Language: en_US
External object cache: – Server Environment Server Info: Apache
PHP Version: 7.4.33
PHP Post Max Size: 256 MB
PHP Time Limit: 300
PHP Max Input Vars: 4000
cURL Version: 7.87.0
OpenSSL/1.1.1t SUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.38-MariaDB
Max Upload Size: 256 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? Database WC Database Version: 7.4.0
WC Database Prefix: xvaswHN5_
Total Database Size: 2.56MB
Database Data Size: 2.13MB
Database Index Size: 0.43MB
xvaswHN5_woocommerce_sessions: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_actionscheduler_actions: Data: 0.25MB + Index: 0.11MB + Engine MyISAM
xvaswHN5_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_actionscheduler_logs: Data: 0.18MB + Index: 0.15MB + Engine MyISAM
xvaswHN5_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_options: Data: 1.55MB + Index: 0.05MB + Engine MyISAM
xvaswHN5_postmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_posts: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
xvaswHN5_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
xvaswHN5_woocommerce_square_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM Post Type Counts attachment: 1
page: 8
post: 2
product: 1
revision: 6
wp_global_styles: 1 Security Secure connection (HTTPS): ?
Hide errors from visitors: ?Error messages should not be shown to visitors. Active Plugins (9) Disable XML-RPC: by Philip Erb – 1.0.1
Mindburn Delivery: by Mindburn Solutions – 1.0.0
Order Delivery Date for WooCommerce (Lite version): by Tyche Softwares – 3.19.0
Shipday Integration for WordPress (WooCommerce): by – 1.4.0
Checkout Field Editor for WooCommerce: by ThemeHigh – 1.8.1
WooCommerce Square: by WooCommerce – 3.5.0
WooCommerce: by Automattic – 7.4.0
WP Remote: by WP Remote – 4.87
WPS Hide Login: by WPServeur
NicolasKulka
wpformation – 1.9.8 Inactive Plugins (3) Check My Address for WooCommerce: by Arosoft.se – 1.4.4
Shipping Zones by Drawing Premium for WooCommerce: by Arosoft.se – 2.8.1.3
Shortcodes for Divi: by WP Zone – 1.2.2 Settings API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
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) Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: ?
Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #6 - /shop/
Cart: #7 - /cart/
Checkout: #8 - /checkout/
My account: #9 - /my-account/
Terms and conditions: ? Page not set Theme Name: Storefront
Version: 4.2.0
Author URL: https://woocommerce.com/
Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ? Templates Overrides: – Square Environment: Production
Tokenization Enabled: –
Debug Mode: Off Admin Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
new-product-management-experience
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page Disabled Features: minified-js
product-variation-management
settings Daily Cron: ? Next scheduled: 2023-02-17 19:44:26 +00:00
Options: ?
Notes: 43
Onboarding: completed Action Scheduler Complete: 1,091
Oldest: 2023-01-30 21:41:28 +0000
Newest: 2023-02-17 12:57:04 +0000 Failed: 5
Oldest: 2023-02-15 14:30:28 +0000
Newest: 2023-02-17 12:20:38 +0000 Pending: 4
Oldest: 2023-02-17 13:57:04 +0000
Newest: 2023-02-21 19:15:32 +0000 Status report information Generated at: 2023-02-17 13:28:41 +00:00
`Hi,
Thank you for sending the system status report.
May I ask for one more piece of information? Can you check the error log section found under WooCommerce > System Status > Logs? (Check if there is any error related to Square, if so, let us know).
When you made the payment using the sandbox mode, what is the status of the order created?
Looking forward to hearing from you.
There were no errors in the logs related to woocommerce square
Hi,
I could not see the same behavior on my site that is using WooCommerce, Square, and the default Storefront theme. For better assistance, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
Important: Please include a link to this forum thread in your response.
We will be able to help you further there.
I do not have an issue. I have been using Square for two years, and always thought it would be great if orders could sync between a square reader and a WordPress website, but as far as I could see, the only thing that synced was inventory.
If it is now possible to sync orders that would be great.
In fact, if orders from the WordPress website could sync onto the Square POS that would be even better.
Hello @garteth,
If you have any suggestions for improving the extension, you can submit it as a feature request but that won’t be needed as there’s already an open request about this: https://woocommerce.com/feature-request/square-reader/#
Also, I would like to note that this thread is closed if you have any other questions please open your own thread. : )
Cheers!
- The topic ‘Checkout form glitching, shows twice in console’ is closed to new replies.