Generating duplicate invoice
-
Hi!
Has anyone ever experienced this? When the customer finalizes the order, the website generates another order and a new invoice for the customer.
I appreciate any help!
-
Hey there!
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.Hi! Thanks for the feedback.
System report:
### WordPress Environment ### WordPress address (URL): https://mastertest.com.br Site address (URL): https://mastertest.com.br WC Version: 4.7.0 REST API Version: ? 4.7.0 WC Blocks Version: ? 3.6.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.6.3 Log Directory Writable: ? WP Version: 5.5.3 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: pt_BR External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.2.11 PHP Post Max Size: 100 MB PHP Time Limit: 1200 PHP Max Input Vars: 10000 cURL Version: 7.19.7 NSS/3.27.1 SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.24-MariaDB-log Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.7.0 WC Database Prefix: site_ Tamanho total do banco de dados: 161.18MB Tamanho dos dados do banco de dados: 97.94MB Tamanho do índice do banco de dado: 63.24MB site_woocommerce_sessions: Dados: 1.02MB + índex: 0.02MB + mecanismo InnoDB site_woocommerce_api_keys: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_woocommerce_attribute_taxonomies: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_woocommerce_downloadable_product_permissions: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB site_woocommerce_order_items: Dados: 1.52MB + índex: 0.19MB + mecanismo InnoDB site_woocommerce_order_itemmeta: Dados: 9.41MB + índex: 6.94MB + mecanismo InnoDB site_woocommerce_tax_rates: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB site_woocommerce_tax_rate_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_woocommerce_shipping_zones: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_woocommerce_shipping_zone_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_woocommerce_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_woocommerce_payment_tokens: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_woocommerce_payment_tokenmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_woocommerce_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB agendamento: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB banners_site: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB black_friday_2019: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB pedidos_uno_woocommerce: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB pre_agendamento: Dados: 2.52MB + índex: 0.09MB + mecanismo InnoDB pre_agendamento_01062020: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB pre_agendamento_10082020: Dados: 1.52MB + índex: 0.06MB + mecanismo InnoDB pre_agendamento_31052020: Dados: 3.52MB + índex: 0.00MB + mecanismo InnoDB pre_agendamento_bkp_21112019: Dados: 0.22MB + índex: 0.00MB + mecanismo InnoDB pre_agendamento_bkp_28072020: Dados: 1.52MB + índex: 0.06MB + mecanismo InnoDB pre_agendamento_homolog: Dados: 0.06MB + índex: 0.03MB + mecanismo InnoDB session_agendamento: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_actionscheduler_actions: Dados: 3.02MB + índex: 1.73MB + mecanismo InnoDB site_actionscheduler_claims: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_actionscheduler_groups: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_actionscheduler_logs: Dados: 2.47MB + índex: 2.97MB + mecanismo InnoDB site_admin_columns: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_commentmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_comments: Dados: 7.48MB + índex: 8.28MB + mecanismo InnoDB site_frmt_form_entry: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB site_frmt_form_entry_meta: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB site_frmt_form_views: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB site_links: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_options: Dados: 5.22MB + índex: 2.20MB + mecanismo InnoDB site_postmeta: Dados: 28.56MB + índex: 21.88MB + mecanismo InnoDB site_posts: Dados: 6.48MB + índex: 2.94MB + mecanismo InnoDB site_promag_email_templates: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_fields: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_friends: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_groups: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_group_requests: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_msg_conversation: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_promag_msg_threads: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_notification: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_paypal_log: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_promag_sections: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_redirection_404: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB site_redirection_groups: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_redirection_items: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB site_redirection_logs: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB site_shipment_batch_process: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_strong_views: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_termmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_terms: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_term_relationships: Dados: 0.05MB + índex: 0.02MB + mecanismo InnoDB site_term_taxonomy: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_usermeta: Dados: 12.50MB + índex: 11.00MB + mecanismo InnoDB site_users: Dados: 1.52MB + índex: 0.69MB + mecanismo InnoDB site_vxc_zoho_accounts: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_vxc_zoho_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_wcmp_cust_answers: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_wcmp_cust_questions: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wcmp_products_map: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wcmp_shipping_zone_locations: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wcmp_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wcmp_vendor_orders: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_wcmp_visitors_stats: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB site_wc_admin_notes: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wc_admin_note_actions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_wc_cancel_orders: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wc_category_lookup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wc_customer_lookup: Dados: 1.52MB + índex: 0.41MB + mecanismo InnoDB site_wc_download_log: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_wc_order_coupon_lookup: Dados: 0.09MB + índex: 0.13MB + mecanismo InnoDB site_wc_order_product_lookup: Dados: 1.52MB + índex: 0.58MB + mecanismo InnoDB site_wc_order_stats: Dados: 0.52MB + índex: 0.44MB + mecanismo InnoDB site_wc_order_tax_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_wc_product_meta_lookup: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB site_wc_reserved_stock: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wc_tax_rate_classes: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_wc_webhooks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_wdpslayer: Dados: 0.00MB + índex: 0.00MB + mecanismo MyISAM site_wdpsslide: Dados: 0.00MB + índex: 0.00MB + mecanismo MyISAM site_wdpsslider: Dados: 0.00MB + índex: 0.00MB + mecanismo MyISAM site_wdp_orders: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB site_wdp_order_items: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB site_wdp_rules: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_woo_shipment_status_email: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_woo_shippment_provider: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB site_wpmailsmtp_tasks_meta: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_wpmm_subscribers: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB site_yoast_indexable: Dados: 1.52MB + índex: 0.94MB + mecanismo InnoDB site_yoast_indexable_hierarchy: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB site_yoast_migrations: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB site_yoast_primary_term: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB site_yoast_seo_links: Dados: 0.13MB + índex: 0.11MB + mecanismo InnoDB site_yoast_seo_meta: Dados: 2.47MB + índex: 0.00MB + mecanismo InnoDB temp_pedido: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB usuarios_consulta_agendamento: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB ### Post Type Counts ### attachment: 140 flamingo_contact: 5363 flamingo_inbound: 405 forminator_quizzes: 1 ml-slide: 1 ml-slider: 25 nav_menu_item: 18 oembed_cache: 5 page: 148 popup: 1 popup_theme: 6 post: 12 post_type_questionna: 1 product: 54 product_option_group: 1 product_variation: 18 revision: 188 shop_coupon: 116 shop_order: 6319 shop_order_refund: 108 testimonial: 2 tss-sc: 1 uni_cpo_option: 3 wcccf: 3 wpcf7_contact_form: 5 wpm-testimonial: 1 wpspaios_slider: 1 ywsbs_subscription: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (32) ### PW Advanced Woo Reporting: por Proword – 4.8 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 Advanced Dynamic Pricing for WooCommerce: por AlgolPlus – 3.0.9 Check Email: por MachoThemes – 0.6.2 Classic Editor: por WordPress Contributors – 1.6 Admin Columns: por AdminColumns.com – 4.2.2 Contact Form 7: por Takayuki Miyoshi – 5.3 Flamingo: por Takayuki Miyoshi – 2.2 Masks Form Fields: por Ivan Petermann – 1.4 Relatórios ecommerce Mastertest: por Renato Poli - 2020 – Gerenciamento de banners Mastertest: por Renato Poli - 2020 – MetaSlider: por MetaSlider – 3.19.0 Mouseflow for WordPress: por Mouseflow – 5.0.3 Ni WooCommerce Admin Order Columns: por anzia – 1.3.6 WooCommerce Order Export: por JEM Plugins – 3.0.5 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 Order / Coupon / Subscription Export Import Plugin for WooCommerce (BASIC): por WebToffee – 1.7.1 Redirection: por John Godley – 4.9.2 WC Cancel Order: por Vikram S – 3.0 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 Checkout Field Editor for WooCommerce: por ThemeHigh – 1.4.4 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 Extra Product Options (Product Addons) for WooCommerce: por ThemeHigh – 3.0.0 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 Advanced Order Export For WooCommerce: por AlgolPlus – 3.1.6 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 WooCommerce Frenet: por Rafael Mancini – 2.1.7.1 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 WooCommerce Admin: por WooCommerce – 1.6.3 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 Claudio Sanches - Correios for WooCommerce: por Claudio Sanches – 3.8.0 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 Pagar.me para WooCommerce: por Pagar.me Claudio Sanches – 2.3.0 – Vers?o instalada n?o testada com a vers?o ativa do WooCommerce 4.7.0 WooCommerce: por Automattic – 4.7.0 Yoast SEO: por Equipe da Yoast – 15.3 WP Mail SMTP: por WPForms – 2.5.1 Manuten??o Site: por Designmodo – 2.2.4 WPC Variations Radio Buttons for WooCommerce: por WPClever.net – 2.2.5 YITH WooCommerce Name Your Price: por YITH – 1.1.17 YITH WooCommerce Social Login: por YITH – 1.4.6 YITH WooCommerce Subscription: por YITH – 1.4.8 ### 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 ### Base da loja: #5 - /loja/ Carrinho: #6 - /carrinho/ Finalizar compra: #7 - /finalizar-compra/ Minha conta: #8 - /minha-conta/ Termos e condi??es: ? A visibilidade da página deve ser pública ### Theme ### Name: Mastertest Version: 1.0 Author URL: https://mastertest.com.br Child Theme: ? – Recomendamos você utilizar um tema filho no caso de você estiver personalizando o WooCommerce em um tema ascendente. Veja como criar um tema filho WooCommerce Support: ? ### Templates ### Archive Template: O seu tema tem um arquivo woocommerce.php você n?o será capaz de sobrescrever o arquivo woocommerce/archive-product.php desde que a prioridade é para o arquivo woocommerce.php. Este aviso destina-se apenas a prevenir problemas de exibi??o. Overrides: mastertest/woocommerce/cart/cart-empty.php mastertest/woocommerce/cart/cart-totals.php mastertest/woocommerce/cart/cart.php mastertest/woocommerce/cart/cross-sells.php mastertest/woocommerce/cart/proceed-to-checkout-button.php mastertest/woocommerce/checkout/form-checkout.php mastertest/woocommerce/checkout/form-coupon.php mastertest/woocommerce/checkout/payment.php mastertest/woocommerce/checkout/review-order.php mastertest/woocommerce/checkout/terms.php mastertest/woocommerce/checkout/thankyou.php mastertest/woocommerce/content-single-product.php mastertest/woocommerce/emails/admin-cancelled-order.php mastertest/woocommerce/emails/admin-failed-order.php mastertest/woocommerce/emails/admin-new-order.php mastertest/woocommerce/emails/customer-completed-order.php mastertest/woocommerce/emails/customer-invoice.php mastertest/woocommerce/emails/customer-new-account.php mastertest/woocommerce/emails/customer-note.php mastertest/woocommerce/emails/customer-on-hold-order.php mastertest/woocommerce/emails/customer-processing-order.php mastertest/woocommerce/emails/customer-refunded-order.php mastertest/woocommerce/emails/customer-reset-password.php mastertest/woocommerce/emails/email-addresses.php mastertest/woocommerce/emails/email-customer-details.php mastertest/woocommerce/emails/email-downloads.php mastertest/woocommerce/emails/email-footer.php mastertest/woocommerce/emails/email-header.php mastertest/woocommerce/emails/email-order-details.php mastertest/woocommerce/emails/email-order-items.php mastertest/woocommerce/emails/email-styles.php mastertest/woocommerce/emails/plain/admin-cancelled-order.php mastertest/woocommerce/emails/plain/admin-failed-order.php mastertest/woocommerce/emails/plain/admin-new-order.php mastertest/woocommerce/emails/plain/customer-completed-order.php mastertest/woocommerce/emails/plain/customer-invoice.php mastertest/woocommerce/emails/plain/customer-new-account.php mastertest/woocommerce/emails/plain/customer-note.php mastertest/woocommerce/emails/plain/customer-on-hold-order.php mastertest/woocommerce/emails/plain/customer-processing-order.php mastertest/woocommerce/emails/plain/customer-refunded-order.php mastertest/woocommerce/emails/plain/customer-reset-password.php mastertest/woocommerce/emails/plain/email-addresses.php mastertest/woocommerce/emails/plain/email-customer-details.php mastertest/woocommerce/emails/plain/email-downloads.php mastertest/woocommerce/emails/plain/email-order-details.php mastertest/woocommerce/emails/plain/email-order-items.php mastertest/woocommerce/global/quantity-input.php mastertest/woocommerce/loop/add-to-cart.php mastertest/woocommerce/myaccount/dashboard.php mastertest/woocommerce/myaccount/downloads.php mastertest/woocommerce/myaccount/form-add-payment-method.php mastertest/woocommerce/myaccount/form-edit-account.php mastertest/woocommerce/myaccount/form-edit-address.php mastertest/woocommerce/myaccount/form-login.php mastertest/woocommerce/myaccount/form-lost-password.php mastertest/woocommerce/myaccount/form-reset-password.php mastertest/woocommerce/myaccount/lost-password-confirmation.php mastertest/woocommerce/myaccount/my-account.php mastertest/woocommerce/myaccount/my-address.php mastertest/woocommerce/myaccount/my-downloads.php mastertest/woocommerce/myaccount/my-orders.php mastertest/woocommerce/myaccount/navigation.php mastertest/woocommerce/myaccount/orders.php mastertest/woocommerce/myaccount/payment-methods.php mastertest/woocommerce/myaccount/view-order.php mastertest/woocommerce/notices/success.php mastertest/woocommerce/order/form-tracking.php mastertest/woocommerce/order/order-again.php mastertest/woocommerce/order/order-details-customer.php mastertest/woocommerce/order/order-details-item.php mastertest/woocommerce/order/order-details.php mastertest/woocommerce/order/order-downloads.php mastertest/woocommerce/order/tracking.php mastertest/woocommerce/single-product/add-to-cart/simple.php mastertest/woocommerce/single-product/add-to-cart/variable.php mastertest/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php mastertest/woocommerce/single-product/price.php mastertest/woocommerce/single-product/short-description.php mastertest/woocommerce/single-product/stock.php mastertest/woocommerce/single-product/tabs/additional-information.php mastertest/woocommerce/single-product/tabs/description.php mastertest/woocommerce/single-product/tabs/tabs.php ### Action Scheduler ### Concluído: 6.377 Oldest: 2020-10-20 09:59:27 -0300 Newest: 2020-11-20 09:34:35 -0200 Pendente: 2 Oldest: 2020-11-20 10:34:35 -0200 Newest: 2020-11-20 10:34:35 -0200
Although you do have some plugins that deal with order management in general it seems, I don’t see any that stand out specifically that could be causing this. Because of that, I recommend you do a conflict test.
The best way to do this, is to do the following:
– Temporarily switch your theme back to a default?theme, such as Storefront.
– Disable all plugins except for WooCommerce.
– Clear your browser cache, and the cache on your site if you have one there.
– Place a test order to see if the issue has been resolved.If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until the problem appears again. This will then give you an idea about which plugin is the one causing the conflict.
Since these tests will impact the look and functionality of the site, I also strongly recommend using a staging site where you can do your testing.
If you don’t already have a staging site set up, check with your hosting company as many offer this as part of their packages. Otherwise, you can use a free plugin such as?WP Staging to set one up.Hi!
Sorry for the delay in returning. I was trying to solve it with our host. We were not successful.
I followed the steps indicated by you but this error occurs from time to time. The last time this happened was on the 25th and today.
Today the customer made a purchase on his credit card and after completing the purchase, the site created another 2 orders in a row and charged the customer!
Order 511554 created 2020-11-30T20: 29: 32
Order 511555 created 2020-11-30T20: 29: 43
Order 511556 created 2020-11-30T20: 29: 51Is there a clue as to how I can solve this?
Thanks!
Hi @mastertestdeveloper ,
This sounds like one of a couple of possible causes:
- There is a caching issue
- Your site is allowing customers to complete the purchase multiple times
- Another plugin or the site’s theme is causing this to happen
- An external site is creating the orders
The conflict testing @senff mentioned can help with all of those, but that can be tricky with intermittent issues like this.
If you have any caching via a plugin or your host, you may want to confirm that the Cart, Checkout, and My Account pages are all excluded from the cache. This page has some more details about caching and WooCommerce.
If that’s not the cause, a staging site may help for running a conflict test. Your host may have a mechanism to create a staging copy for you. If not, then a free plugin like WP Staging can create a staging copy in your WordPress site.
On the staging site, try to make this happen. You may have to place several test orders, or try different browsers. Once you know you can make it happen, follow the steps here to complete a conflict test.
Once the offending plugin or theme is identified, you may be able to check what it’s doing to see if it can be fixed by the plugin or theme developer or via a setting, or you can find another plugin/theme that won’t cause the issue.
I hope this helps!
Hey there, since we haven’t heard back from you in awhile I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.
- The topic ‘Generating duplicate invoice’ is closed to new replies.