Payment options are grayed out on checkout page+
-
Hello,
I am running into an issue where the payment options are grayed out and have the spinning circle icon on the checkout page. I have Woopayments installed, but when I try to make any changes to payment options it says “Error retrieving settings” and “Error saving settings” when I try to make any changes. I am also unable to select Credit/Debit Card under Payments Accepted. I have tried uninstalling/reinstalling the payment plugins, trying other payment plugins such as PayPal and Stripe, deactivating every other plugin, and changing the PHP version (currently running 8.2), but payments are still grayed out and customers are unable to check out.
- This topic was modified 5 months ago by patking13.
The page I need help with: [log in to see the link]
-
Hi @patking13
Thank you for reaching out — we’re happy to help!
As I undertand, settings are not saving in the back end (wp-admin Settings screens), and a spinning wheel appears on the front end (Checkout page), as showcased here. Am I getting this?
This kind of problem is usually caused by a conflict with your theme or with another plugin.
The best way to determine this is to:- Temporarily switch your theme to?Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Before you start
First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
Second, I would suggest installing a plugin called?Health Check & Troubleshooting. This is a plugin developed by the WordPress community, and it allows you to disable plugins without affecting your current site visitors.
I trust that points you in the right direction, but if you have more questions, let us know.
We’re happy to help.
I installed and activated the Storefront plugin and disabled everything but WooCommerce, but I’m still having the same issue.
Hi there @patking13,
Thanks for sharing further details on this. Could you confirm if you’re sign any custom codes in your store? Also, please share with us your system status report so that we can take a closer look at your site’s environment.
You can find it via WooCommerce > Status > Get system report > Copy for support.
As far as custom code, I’ve just added to functions.php to change the store breadcrumb links, change the number of items per row, removing the long description from product pages, and adding my own logo to the login screen. I also slightly customized the cart, checkout, and global templates to fit with my site’s design, but that’s mostly just HTML changes.
Here is the system status report:
` WordPress Environment</p> <p>WordPress address (URL): https://www.patrickkingart.com<br>Site address (URL): https://www.patrickkingart.com<br>WC Version: 9.0.1<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.7.4<br>Log Directory Writable: ?<br>WP Version: 6.5.4<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en<br>External object cache: – Server Environment</p> <p>Server Info: Apache<br>PHP Version: 8.2.19<br>PHP Post Max Size: 32 MB<br>PHP Time Limit: 30<br>PHP Max Input Vars: 1000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w</p> <p>SUHOSIN Installed: –<br>MySQL Version: 10.6.17-MariaDB-cll-lve<br>Max Upload Size: 32 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database</p> <p>WC Database Version: 9.0.1<br>WC Database Prefix: wp_<br>Total Database Size: 47.23MB<br>Database Data Size: 39.70MB<br>Database Index Size: 7.53MB<br>wp_woocommerce_sessions: Data: 0.30MB + Index: 0.01MB + Engine MyISAM<br>wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM<br>wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_actionscheduler_actions: Data: 2.20MB + Index: 0.55MB + Engine MyISAM<br>wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_actionscheduler_logs: Data: 1.58MB + Index: 0.76MB + Engine MyISAM<br>wp_aiowps_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_aiowps_failed_logins: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wp_aiowps_global_meta: Data: 4.87MB + Index: 0.00MB + Engine MyISAM<br>wp_aiowps_login_activity: Data: 0.05MB + Index: 0.01MB + Engine MyISAM<br>wp_aiowps_login_lockdown: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_aiowps_permanent_block: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_gallery_galleries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_gallery_galleriesslides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_gallery_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB<br>wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_jetpack_waf_blocklog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_litespeed_img_optm: Data: 0.17MB + Index: 0.13MB + Engine InnoDB<br>wp_litespeed_img_optming: Data: 0.09MB + Index: 0.19MB + Engine InnoDB<br>wp_masterslider_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_masterslider_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wp_nextend2_image_storage: Data: 0.08MB + Index: 0.02MB + Engine MyISAM<br>wp_nextend2_section_storage: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_nextend2_smartslider3_generators: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_nextend2_smartslider3_sliders: Data: 0.16MB + Index: 0.00MB + Engine MyISAM<br>wp_nextend2_smartslider3_sliders_xref: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_nextend2_smartslider3_slides: Data: 0.13MB + Index: 0.04MB + Engine MyISAM<br>wp_ngg_album: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ngg_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ngg_pictures: Data: 0.18MB + Index: 0.01MB + Engine MyISAM<br>wp_options: Data: 3.19MB + Index: 0.30MB + Engine MyISAM<br>wp_postmeta: Data: 4.34MB + Index: 0.98MB + Engine MyISAM<br>wp_posts: Data: 3.43MB + Index: 0.30MB + Engine MyISAM<br>wp_prli_clicks: Data: 2.88MB + Index: 1.73MB + Engine MyISAM<br>wp_prli_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_prli_links: Data: 0.01MB + Index: 0.03MB + Engine MyISAM<br>wp_prli_link_metas: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_responsive_menu: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_termmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM<br>wp_terms: Data: 0.01MB + Index: 0.04MB + Engine MyISAM<br>wp_term_relationships: Data: 0.05MB + Index: 0.11MB + Engine MyISAM<br>wp_term_taxonomy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM<br>wp_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_usermeta: Data: 0.09MB + Index: 0.03MB + Engine MyISAM<br>wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_admin_notes: Data: 0.09MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_product_attributes_lookup: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine MyISAM<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfBlockedIPLog: Data: 0.02MB + Index: 0.01MB + Engine MyISAM<br>wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfConfig: Data: 3.99MB + Index: 0.01MB + Engine MyISAM<br>wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfFileMods: Data: 3.28MB + Index: 0.36MB + Engine MyISAM<br>wp_wfHits: Data: 0.74MB + Index: 0.13MB + Engine MyISAM<br>wp_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfIssues: Data: 0.03MB + Index: 0.01MB + Engine MyISAM<br>wp_wfKnownFileList: Data: 5.35MB + Index: 0.28MB + Engine MyISAM<br>wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfLocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wp_wfLogins: Data: 0.37MB + Index: 0.09MB + Engine MyISAM<br>wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfNotifications: Data: 0.10MB + Index: 0.01MB + Engine MyISAM<br>wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfSecurityEvents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfStatus: Data: 0.30MB + Index: 0.14MB + Engine MyISAM<br>wp_wfTrafficRates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfWafFailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_square_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wpdm_social_shares: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_xyz_ips_short_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yoast_indexable: Data: 0.36MB + Index: 0.10MB + Engine MyISAM<br>wp_yoast_indexable_hierarchy: Data: 0.01MB + Index: 0.04MB + Engine MyISAM<br>wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_yoast_primary_term: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_yoast_seo_links: Data: 0.34MB + Index: 0.09MB + Engine MyISAM<br>wp_yoast_seo_meta: Data: 0.06MB + Index: 0.07MB + Engine MyISAM Post Type Counts</p> <p>attachment: 877<br>cf7_style: 12<br>custom_css: 2<br>feedback: 4<br>jp_img_sitemap: 1<br>jp_sitemap: 1<br>jp_sitemap_master: 1<br>nav_menu_item: 39<br>ngg_gallery: 38<br>ngg_pictures: 413<br>oembed_cache: 10<br>page: 45<br>popup_theme: 6<br>post: 155<br>pretty-link: 76<br>product: 154<br>product_variation: 629<br>revision: 291<br>seedprod: 1<br>shop_coupon: 1<br>shop_order: 15<br>shop_order_refund: 4<br>wp_navigation: 1<br>wpcf7_contact_form: 1 Security</p> <p>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (22)</p> <p>All-in-One WP Migration: by ServMask – 7.83<br>Better Font Awesome: by Mickey Kay – 2.0.4<br>Classic Editor: by WordPress Contributors – 1.6.3<br>Contact Form 7: by Takayuki Miyoshi – 5.9.6<br>Disable Comments: by WPDeveloper – 2.4.6<br>Easy FancyBox – WordPress Lightbox Plugin: by FirelightWP – 2.2.1<br>Google Listings and Ads: by WooCommerce – 2.7.3<br>Health Check & Troubleshooting: by The www.remarpro.com community – 1.7.0<br>HTML Editor Syntax Highlighter: by James Bradford – 2.4.4<br>Insert Pages: by Paul Ryan – 3.8.1<br>Insert PHP Code Snippet: by xyzscripts.com – 1.3.5<br>Jetpack: by Automattic – 13.5<br>Page scroll to id: by malihu – 1.7.9<br>Pretty Links: by Pretty Links – 3.6.7<br>Really Simple SSL: by Really Simple Plugins – 8.1.5<br>Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.6<br>WooCommerce.com Update Manager: by Automattic – 1.0.3<br>WooPayments: by Automattic – 7.8.0<br>WooCommerce: by Automattic – 9.0.1<br>Wordfence Security: by Wordfence – 7.11.6<br>Yoast SEO: by Team Yoast – 22.9<br>Smush: by WPMU DEV – 3.16.5 Inactive Plugins (0) Dropin Plugins ()</p> <p>advanced-cache.php: advanced-cache.php Must Use Plugins (1)</p> <p>installatron_hide_status_test.php: by – Settings</p> <p>API Enabled: –<br>Force SSL: ?<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>subscription (subscription)<br>variable (variable)<br>variable subscription (variable-subscription)</p> <p>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)</p> <p>Connected to WooCommerce.com: ?<br>Enforce Approved Product Download Directories: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging</p> <p>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 4 KB WC Pages</p> <p>Shop base: #14574 – /online-store/<br>Cart: #377 – /cart/<br>Checkout: #378 – /checkout/<br>My account: #379 – /my-account/<br>Terms and conditions: ? Page not set Theme</p> <p>Name: patrickkingart2020<br>Version: 1.0.0<br>Author URL: https://underscores.me/<br>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<br>WooCommerce Support: ? Templates</p> <p>Overrides: patrickkingart2020/woocommerce/cart/cart-empty.php<br>patrickkingart2020/woocommerce/cart/cart.php version 7.8.0 is out of date. The core version is 7.9.0<br>patrickkingart2020/woocommerce/checkout/form-checkout.php<br>patrickkingart2020/woocommerce/checkout/form-coupon.php<br>patrickkingart2020/woocommerce/content-single-product.php<br>patrickkingart2020/woocommerce/global/wrapper-start.php</p> <p>Outdated Templates: ?</p> <pre class=”wp-block-code”><code> Learn how to update</code></pre> <p>WooPayments</p> <p>Version: 7.8.0<br>Connected to WPCOM: Yes<br>WPCOM Blog ID: 13145306<br>Account ID: acct_1K19sA2HT8NorWBf<br>Payment Gateway: Enabled<br>Test Mode: Disabled<br>Enabled APMs: card<br>WooPay: Enabled (product,cart,checkout)<br>WooPay Incompatible Extensions: No<br>Apple Pay / Google Pay: Disabled<br>Fraud Protection Level: basic<br>Multi-currency: Enabled<br>Auth and Capture: Enabled<br>Documents: Disabled<br>Logging: Disabled Admin</p> <p>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page</p> <p>Disabled Features: minified-js<br>new-product-management-experience<br>pattern-toolkit-full-composability<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>launch-your-store<br>product-editor-template-system</p> <p>Daily Cron: ? Next scheduled: 2024-06-22 17:45:07 -04:00<br>Options: ?<br>Notes: 192<br>Onboarding: completed Action Scheduler</p> <p>Canceled: 1<br>Oldest: 2024-06-21 15:40:01 -0400<br>Newest: 2024-06-21 15:40:01 -0400</p> <p>Complete: 160<br>Oldest: 2024-05-22 05:41:03 -0400<br>Newest: 2024-06-21 15:40:38 -0400</p> <p>Failed: 5,866<br>Oldest: 2023-03-06 14:55:22 -0500<br>Newest: 2024-06-20 23:09:49 -0400</p> <p>Pending: 4<br>Oldest: 2024-06-22 09:52:12 -0400<br>Newest: 2024-06-22 15:40:38 -0400 Status report information</p> <p>Generated at: 2024-06-21 23:07:44 -04:00<br>`
Hello patking13,
Thank you for your reply.
The SSR shows you have a custom theme enabled and several plugins are active.
Did you switch back to the original settings after testing with Storefront and WooCommerce only?Could you please go back to Storefront with WooCommerce only?
Then leave it like that for us to test the website from our end.Also, remove the custom code for the time being.
This will help us find the cause of the issue.Looking forward to your response. ??
Best regards.
Hi Zubair,
I have deactivated all plugins except WooCommerce and have reactivated the Storefront theme. The custom code was in the functions.php and custom WooCommerce template files, both of which are located in my main site theme, so those have been disabled as well.
Hi @patking13
Thanks for further clarification. Can you please follow the guide shared here and check whether this endless loading issue is resolved?
Let us know how that goes. Looking forward to hearing from you!
Hi Shameem,
I went down the list and tried all of those:
-the WP and site addresses match
-no JS errors were found
-no issues were found in the XHR console
-added the defer transactional emails filter
-the memory limit was already 256MBI’m still having the issue.
Hello patking13
Thank you for your reply.
I checked the website can see the problem with Checkout page.
I see you are using the Checkout shortcode to generate the Checkout form.
It should work by default but it is not.
I do not see any errors either.Could you try using the Checkout block and see if the issue also occurs with that?
You can create a new Test page and put the block in it.
Here is a screenshot for your reference:This step will help me understand the issue in a better way.
Looking forward to your response. ??Best regards.
Hi Zubair,
I tried to create a new page with the checkout block, but it says “Publishing failed. The response is not a valid JSON response.” when I try to publish it.
?? hi?@patking13
This sounds like an issue with the underlying WordPress installation.
As a first step, we need to establish that the WordPress + WooCommerce core installation is error-free. Then your settings, products, orders, and all other data need to be transferred over.
What I mean by that is that the server installation must meet the minimum requirements, as detailed here, first.
Big fan of?Alexander the Great’s solution to the Gordian Knot?here, therefore, I’d like to propose the following:
- Make sure there is a backup available, with a solution like?Jetpack VaultPress Backup
- Create a?fresh/new?WooCommerce site, where WooCommerce and its database will both be at the latest version available (and make sure to double-check that, before proceeding)
- Use the backup created in the first step, to?restore the site’s data
Side bonus: having a round-the-clock backup solution, keeping a log of every change, making future restores a breeze.
I hope that helps! Let us know how it goes.
Ok that sounds pretty straightforward. To be clear, I’m setting up a new site with a fresh WP/WC install and copying my current store contents onto it? Will that need to be separate from my current site once it’s resolved? If at all possible I’d prefer to have everything all on patrickkingart.com, but understand if that’s not an option.
Hi @patking13,
Thanks again for reaching out with further details.
?Will that need to be separate from my current site once it’s resolved??
If I understand you correctly, you’re making a new site and would like ot move the content from the old one to the new site. Just so I’m understanding you correctly, by content, do you mean your products or are you referring to already existing customers and client orders?
So my site patrickkingart.com is both my professional portfolio and online store. If possible, I would like it keep it that way. By content I mean the products themselves, I don’t have enough existing sales/customers to warrant needing to keep that information. It also appears to be extremely taxing on my hosting service to have two concurrent sites running.
I set up a new site with a clean WP/WC install, set up WooPayments, and added a sample product:
https://www.patrickkingart.com/shop
When I add the product to the cart, the checkout screen displays just fine.
- You must be logged in to reply to this topic.