jesusmabass
Forum Replies Created
-
Hi @omarfpg, @doublezed2, and @anastas10s,
It seems that with the clean installation, the 403 error does not occur, so I would rule out hosting issues. I will rebuild the website from scratch, continuously testing to see if the problem reappears and what might be causing it. Please keep this thread open for a few more days until I can update you.
Thank you for all your help.
Hi Omar, @omarfpg
Thank you for your response.
I will proceed to create a clean installation of WordPress and WooCommerce on my hosting. I will test the checkout process and let you know the results as soon as I have completed the test.
Thank you for your continued assistance.
Best regards,
JesúsHi @anastas10s,
As I understand, from?the recap shared here, while in step 1 everything is error-free. The issue begins when customizations to the Checkout page, or other plugins, are added in step 2.
I apologize if I didn’t explain it clearly. The 403 error begins even without any plugins activated and with the TT3 or TT4 theme, as soon as I create the page and use the shortcode.
The only ways to avoid the 403 error are:
- Using the default page that WooCommerce creates when it is installed or using the corresponding tool: WooCommerce -> Status -> Tools.
- When the checkout page is not marked as such in the advanced options of WooCommerce, regardless of how I created it or the plugins I have installed.
What else can I try, please?
Thank you.
Best regards, Jesús
Hi Omar, @omarfpg
Thank you for your response and for trying to help.
Then, to learn more, please enable WP Debug and try the checkout again. Please share any error log found in WooCommerce → Status → Logs and inside the error log file generated on your server.
I deleted all WooCommerce log files before starting the tests again to ensure a clean test (I didn’t see any critical errors previously). Now, I have added products to the cart and gone to the checkout page, but the logs page remains empty (I suppose there are no errors):
In the WordPress debug.log file, I also don’t see anything noteworthy (only errors due to switching the theme to TT4):
What else can I try?
Thank you.
Best regards,
JesúsHi @anastas10s,
Thank you for your response.
I appreciate your suggestion to test with Checkout Field Editor and to start with a fresh site using a default theme like TT3 with only WooCommerce active.
However, I must reiterate that the 403 error occurs even without any “Checkout Field Editor” plugins installed. As detailed previously, the error is present with just WooCommerce and a default theme active.
The 403 error on ?wc-ajax=update_order_review happens even in a clean environment, without any additional plugins or customizations.
Here’s a recap of my situation:
- Using the default WooCommerce checkout page, there is no 403 error, but custom fields do not appear.
- Using the [woocommerce_checkout] shortcode or Elementor widget for checkout, the 403 error occurs, but custom fields do appear.
- The 403 error persists even when no “Checkout Field Editor” plugins are installed.
Given this, it seems the issue is not related to these plugins. Could you please look into any other possible causes for this 403 error within WooCommerce itself?
Thank you again for your assistance.
Best regards,
JesúsPor supuesto, aquí tienes la traducción de tu respuesta:
Hi Zubair,
Thank you for your response, @doublezed2.
The most effective approach to solve this problem would be to use the Checkout shortcode.
Most Checkout Manager plugins support this and are fully compatible with the shortcode.
Then disable all other plugins and switch to a default theme like Twenty Twenty-four.Ok, I have activated the Twenty Twenty-four theme, deactivated all plugins, and created the checkout page only with the shortcode:
Result:
May I ask which Checkout Manager plugins have you tried so far?
- Checkout Field Manager (Checkout Manager) for WooCommerce by Quadlayers
- Checkout Field Editor (Checkout Manager) for WooCommerce by ThemeHigh
- Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager by WP Desk
- WC – APG Campo NIF/CIF/NIE by Art Project Group
Next, I would recommend reaching out to the Checkout Manager plugin support.
Even if they do not provide a complete solution, their insights might help resolve this issue.I believe this is not necessary when the 403 error occurs even without these plugins installed, right?
Thank you again.
Best regards.
Hi @omarfpg,
Thank you for your response.
Regarding your point:
The custom checkout field edit plugins may not work with the checkout block if they’re not compatible with it, going with the shortcode version would be the safe way to go.
The custom checkout field works with both the shortcode and the Elementor widget (in these two cases, I get the 403 error), but not with the automatically created WooCommerce checkout page (why is this happening?; in this case, there is no 403 error).
However, as I understand from this paragraph, when you’re using the shortcode version of the checkout page, you do see your edits, however you get the 403 error, correct? Now, if you disable the checkout edit plugin your checkout works properly?
Yes, that’s correct. If I use the shortcode version, I see the custom fields, but I get the 403 error. If I disable the checkout edit plugin, the custom fields disappear (logically), but the 403 error remains. This error occurs both in the shortcode version and in the Elementor widget version, even before installing any custom field plugins.
I see you’re currently using?WooCommerce Checkout Manager: por QuadLayers – 7.5.2. Since the 403 issue appears to be related to the checkout edits you’re making, have you reached out to?their support?to ask about this? Alternatively, have you tried with other checkout editor plugins while using the shortcode checkout page, and see if the 403 issue persists?
I have not contacted their support because this issue happens with all similar plugins, and the 403 error occurs even if I don’t have any installed. I understand this error is not caused by these plugins, right?
Finally, do you find anything in your WooCommerce > Status > Logs?
I don’t see anything unusual, I’m not sure. Could you check it? I provided the link in my first message.
Summary of my case:
I have two scenarios:
- If I leave the automatically created WooCommerce checkout page, there is no 403 error on ?wc-ajax=update_order_review, but I can’t add custom fields (they don’t appear).
- If I use the shortcode (both from Gutenberg and Elementor) or the Elementor checkout widget, the 403 error occurs on ?wc-ajax=update_order_review. However, the custom fields do appear.
If I disable the custom field plugins, the 403 error persists.
I just noticed something that might help. If I don’t select the checkout page in WooCommerce advanced settings, the page works correctly without the 403 error. Why is that?
Thank you so much, Omar. I hope to find a solution because I don’t know what else to do. I’m desperate.
Best regards, Jesús