sommepro
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Shipping method changing during checkoutHi, @maykato, thanks for your reply.
I disabled the Flat Rate mid-checkout just as an example.
What really happened was that the Correios(*) Webservice got unavailable for a few seconds after a customer chose it as his shipping method on the checkout page and before he placed the order. Therefore, the order was placed with the next available shipping method at a higher price.
Imagine how disappointed that customer was, not being told that his chosen shipping method was no longer available and being charged a higher price for another shipping method. We could have been sued for this, as we charged the customer for something he didn’t choose. Fortunately, he understood what happened and everything was resolved.
My point is that the customer should be warned about situations like this before the order is created in Woocommerce, so that he can choose another shipping method for himself.
If this is the expected response from Woocommerce, ok, I will have to find a way to change this behavior, but, in my opinion, it is something that could be improved.
(*) Correios is the Brazilian Postal Service.
Forum: Plugins
In reply to: [WooCommerce] Shipping method changing during checkoutHi @maykato!
Yes, it was, I just enabled it.
Remember that you first choose it, then disable it keeping the checkout page open and, after that, click on place order.
How can I give you one admin account on the test site? Can you give-me your e-mail?
Forum: Plugins
In reply to: [WooCommerce] Shipping method changing during checkoutHello,
Any news about this subject? Is there something else I can do to help?
Forum: Plugins
In reply to: [WooCommerce] Shipping method changing during checkoutHello,
I did another test with a fresh install with the same results, as you can see below.
Woocommerce settings:
https://snipboard.io/YacHEr.jpg
https://snipboard.io/3BjNm1.jpg
https://snipboard.io/ir4xIE.jpg
https://snipboard.io/FCYGkH.jpgShipping change example:
1 – Initial shipping settings: https://snipboard.io/FCYGkH.jpg
2 – Customer checkout page (before placing order), flat rate chosen, cost R$ 10,00: https://snipboard.io/HKIq5A.jpg
3 – Shipping settings changed: https://snipboard.io/mDvGy4.jpg
4 – Order of item 2 above is placed;
5 – Order received page – shipping changed to Local pickup, cost R$ 100,00, no notice given to customer: https://snipboard.io/SuXMtd.jpgSystem status:
### WordPress Environment ### WordPress address (URL): https://test.terra-flor.com Site address (URL): https://test.terra-flor.com WC Version: 5.5.2 REST API Version: ✔ 5.5.2 WC Blocks Version: ✔ 5.3.3 Action Scheduler Version: ✔ 3.2.1 WC Admin Version: ✔ 2.4.4 Log Directory Writable: ✔ WP Version: 5.8 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.22 PHP Post Max Size: 516 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.78.0 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 5.6.41-84.1 Max Upload Size: 512 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.5.2 WC Database Prefix: wp_ Total Database Size: 4.33MB Database Data Size: 2.93MB Database Index Size: 1.40MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 2.06MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 2 page: 6 post: 2 product: 1 shop_order: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (1) ### WooCommerce: by Automattic – 5.5.2 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: BRL (R$) 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: – ### WC Pages ### Shop base: #7 - /loja/ Cart: #8 - /carrinho/ Checkout: #9 - /finalizar-compra/ My account: #10 - /minha-conta/ Terms and conditions: ❌ Page not set ### Theme ### Name: Storefront Version: 3.7.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: – ### Action Scheduler ### Complete: 5 Oldest: 2021-08-05 12:03:15 -0300 Newest: 2021-08-05 17:32:49 -0300 ### Status report information ### Generated at: 2021-08-05 17:34:21 -03:00@nicholas1708, se o pedido foi realizado na versão anterior do Woocommerce e cancelado na versão 3.5.3 isso pode acontecer, mas se foi tudo feito na 3.5.3 não deveria. Por favor, verifica se é este o caso.
@thomazcia, a última versão do Woocommerce resolve o problema.
Mudou o controle de alteração do estoque. Antes era feito pelo pedido, agora é item a item. Pode acontecer algo em duplicidade por conta disso na transição de versões do Woocommerce, é só ficar de olho por um tempo.
Boa tarde, @nicolasfranz.
Desculpe pela demora, apenas agora concluí as atualizações e testes.
A nova versão do Woocommerce realmente resolveu o problema, está tudo ok agora, pude desabilitar todos os hooks que havia criado pra solucionar o problema.Boa tarde, @nicolasfranz.
Desculpe pela demora, apenas agora concluí as atualizações e testes.
A nova versão do Woocommerce realmente resolveu o problema, está tudo ok agora.Boa tarde, @nicolasfranz.
Desculpe a demora. Pretendo realizar testes esta semana, te informo dos resultados assim que possível.- This reply was modified 7 years, 6 months ago by sommepro.
Boa tarde, @nicolasfranz.
Vi que você testou a nova versão do Woocommerce mas o problema persiste. Pretendo realizar testes esta semana, te informo dos resultados assim que possível.- This reply was modified 7 years, 6 months ago by sommepro.
Olá.
Tive o mesmo problema e acabei desenvolvendo hooks e filtros pra resolver a questão.
Dei uma olhada na nova versão do Woocommerce (3.5.1) e, analisando o código, isso foi tratado lá (pelo menos em relação à versão 3.4.7). Ainda não testei, mas se você não estiver utilizando essa versão, sugiro atualizar e testar.
Devo atualizar os sites que dou manutenção em breve e colocarei os resultados aqui. Se você testar antes de mim, por favor, também coloque os resultados aqui.