moon0326
Forum Replies Created
-
Hi shamanua,
Thank you for contacting WooCommerce Support.
It sounds like you’ve configured everything right.
To ensure we’re on the same page, let’s review the settings one more time.
- Navigate to WooCommerce → Settings → Payments, and click the Manage button for Stripe.
- Scroll down and ensure that Apple Pay / Google Pay is enabled.
- Click the Customize button for Apple Pay / Google Pay.
- Under Show express checkouts on, ensure that Checkout, Product page, and Cart are all checked.

Could you confirm these settings please? Looking forward to your response.
Hi Mati,
Thank you for contacting WooCommerce support team.
How does the plugin handle synchronization? Does it work in real-time or in batches?
As far as I understand, a job is scheduled to run until all products are marked as synced. In your case, I imagine it might take a while. By default, each job processes 500 products. You can refer to the code here: https://github.com/woocommerce/google-listings-and-ads/blob/develop/src/Jobs/UpdateSyncableProductsCount.php#L74
I recommend first trying to reduce the number of products processed by each job using the
woocommerce_gla_batched_job_sizefilter.Please give it a try and let us know how it works.
Forum: Plugins
In reply to: [WooCommerce] .htaccess corrupted, entire web site crashes — twiceHi @cjames53,
Thank you for contacting WooCommerce support.
I’ve attempted to reproduce this issue in my test environment by changing page setup settings, but it did not modify the.htaccessfile. It seems likely that a different plugin is responsible for updating the.htaccessfile.
As the next step, I recommend setting up a staging site and testing again after deactivating all other plugins except WooCommerce. Additionally, it would be helpful if you could share a list of your active plugins.
One thing to note is that Nginx does not support.htaccessfiles, as far as I understand. Could you confirm whether your server is running Nginx or Apache?Forum: Plugins
In reply to: [WooCommerce] Activating WooCommerce causes mass calls and crashes websitesFor those encountering the issue, could you please share your system status if it’s still active? I’m finding it difficult to replicate the problem with my setup.
- This reply was modified 2 years, 2 months ago by moon0326.
Forum: Developing with WordPress
In reply to: Many REST API schemas do not match their response contents@bcworkz Thank you! I did not know about Trac system.
Forum: Developing with WordPress
In reply to: Many REST API schemas do not match their response contentsIf the returned schema doesn’t match its endpoint, it’s not possible to build a tool and “we are returned the schema of our API, enabling others to write client libraries to interpret our data” is false in that case because those tools need to guess the type of endpoints — object or array.
Let’s say I’m building a mock server using schema and I want to provide a mock endpoint for the posts. It’s not possible to build the tool without mapping the endpoint’s type.
posts => collection
post => item> Since being RESTful is all about resources, I believe defining the resource’s schema and not the response itself is proper.
We can have both, and that’s what other tools such as OpenAPI (aka Swagger) choose to.
Once you define a resource (Post in this case), you can reuse it as if it’s a model.
{ "type": "array", "items": { "$ref": "#/schmea/Post" } }Maybe I should open a PR and see what others think 🙂
Forum: Developing with WordPress
In reply to: Many REST API schemas do not match their response contents@bcworkz According to https://developer.ww.wp.xz.cn/rest-api/extending-the-rest-api/schema/, OPTIONS calls are supported. You can try OPTIONS for most wp/v2 endpoints.
I’m trying to use schema from OPTIONS calls to build a tool, but having hard time because returned schemas do not match responses.
From https://developer.ww.wp.xz.cn/rest-api/extending-the-rest-api/schema/, it says the following
“we are returned the schema of our API, enabling others to write client libraries to interpret our data”
This isn’t true since schema doesn’t match the response. There needs guessing work to work with schemas
I’m trying to see if WP community is aware of it. If so, if this is intentional.
Hi @ashkanahmadi,
Since the orders data are stored in the tables, it’s best to keep the tables if you intend to keep the orders data.
You can optionally export the tables and restore them back when needed.
Thanks,
Moon