Woocoommerce coupons don´t work
-
Hi
We have woocoommerce 3.6.2 plugin on this website https://www.topotents.pt and when we use coupons the discount is applied as it should be but the use of the coupon is not discounted in the total of available coupons. We have a coupon named edp19 which gives 100% discount on the purchase and which has defined a maximum of 12 uses. We have used 12 times this coupon but it still has 0/12 uses in backoffice and can continue to be used.
What can be the problem?
ThanksThe page I need help with: [log in to see the link]
-
Hi there!
I tested this on my site and it’s working fine. I also don’t see any open issues relating to that on our development board here:
https://github.com/woocommerce/woocommerce/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+coupon
Can you send a few screenshots showing exactly how you have the coupon setup with each of the settings?
Can you also let us know the status of the orders where the coupon is used? Are they
Completed,Pending Payment,Processing, something else? Thanks!Hi Zach
Thanks for your quick response.
Some prints of the coupon configuration for you to take a look.
https://colourinvasion.pt/wp-content/uploads/2019/06/coupon.jpg
https://colourinvasion.pt/wp-content/uploads/2019/06/coupon1JPG.jpg
https://colourinvasion.pt/wp-content/uploads/2019/06/coupon2.jpg
https://colourinvasion.pt/wp-content/uploads/2019/06/coupon3.jpg
https://colourinvasion.pt/wp-content/uploads/2019/06/coupon4.jpg
https://colourinvasion.pt/wp-content/uploads/2019/06/orders.jpgRegarding the status of the orders in which the coupons were used we already tried wtih the Complete status and the Processing.
I also send the WooCommerce > System Status.
### WordPress Environment ### WordPress address (URL): https://www.topotents.pt Site address (URL): https://www.topotents.pt WC Version: 3.6.2 Log Directory Writable: ✔ WP Version: ❌ 4.9.10 . Há uma nova versão do WordPress disponível (5.2.2) WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: pt_PT External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.0.33 - Recomendamos que utilize PHP 7.2 ou superior para melhor performance e segurança. Como actualizar a sua versão PHP PHP Post Max Size: 64 MB PHP Time Limit: 90 PHP Max Input Vars: 10000 cURL Version: 7.65.0 OpenSSL/1.0.2r SUHOSIN Installed: – MySQL Version: 5.7.26 Max Upload Size: 64 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.6.2 WC Database Prefix: citi_ Tamanho total da base de dados: 56.04MB Tamanho dos dados da base de dados: 39.82MB Tamanho do índice da base de dados: 16.22MB citi_woocommerce_sessions: Dados: 0.04MB + Índice: 0.00MB citi_woocommerce_api_keys: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_attribute_taxonomies: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_downloadable_product_permissions: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_order_items: Dados: 0.02MB + Índice: 0.01MB citi_woocommerce_order_itemmeta: Dados: 0.21MB + Índice: 0.11MB citi_woocommerce_tax_rates: Dados: 0.00MB + Índice: 0.01MB citi_woocommerce_tax_rate_locations: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_shipping_zones: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_shipping_zone_locations: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_shipping_zone_methods: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_payment_tokens: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_payment_tokenmeta: Dados: 0.00MB + Índice: 0.00MB citi_woocommerce_log: Dados: 0.00MB + Índice: 0.00MB citi_addonlibrary_addons: Dados: 0.15MB + Índice: 0.00MB citi_addonlibrary_categories: Dados: 0.00MB + Índice: 0.00MB citi_aelia_dismissed_messages: Dados: 0.00MB + Índice: 0.00MB citi_aelia_exchange_rates_history: Dados: 0.02MB + Índice: 0.00MB citi_calendarista_auth: Dados: 0.01MB + Índice: 0.00MB citi_calendarista_availability: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_availability_booked: Dados: 0.02MB + Índice: 0.00MB citi_calendarista_billing_info: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_coupons: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_dynamic_field: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_dynamic_field_booked: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_dynamic_field_pricing: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_error_log: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_feeds: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_formelement: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_formelement_booked: Dados: 0.01MB + Índice: 0.00MB citi_calendarista_gcal: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_gcal_profile: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_gdpr: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_holidays: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_map: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_map_booked: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_optional: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_optionals_booked: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_optional_group: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_order: Dados: 0.03MB + Índice: 0.00MB citi_calendarista_place: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_place_aggregate_cost: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_pricing_scheme: Dados: 0.03MB + Índice: 0.01MB citi_calendarista_project: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_reminders: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_roles: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_season: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_settings: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_staff: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_staging: Dados: 0.73MB + Índice: 0.02MB citi_calendarista_string_resources: Dados: 0.02MB + Índice: 0.00MB citi_calendarista_style: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_timeslot: Dados: 0.04MB + Índice: 0.01MB citi_calendarista_waypoint: Dados: 0.00MB + Índice: 0.00MB citi_calendarista_waypoint_booked: Dados: 0.00MB + Índice: 0.00MB citi_commentmeta: Dados: 0.00MB + Índice: 0.00MB citi_comments: Dados: 0.11MB + Índice: 0.05MB citi_failed_jobs: Dados: 0.00MB + Índice: 0.00MB citi_gf_addon_feed: Dados: 0.00MB + Índice: 0.00MB citi_gf_draft_submissions: Dados: 0.00MB + Índice: 0.00MB citi_gf_entry: Dados: 0.00MB + Índice: 0.00MB citi_gf_entry_meta: Dados: 0.00MB + Índice: 0.02MB citi_gf_entry_notes: Dados: 0.00MB + Índice: 0.00MB citi_gf_form: Dados: 0.00MB + Índice: 0.00MB citi_gf_form_meta: Dados: 0.01MB + Índice: 0.00MB citi_gf_form_revisions: Dados: 0.00MB + Índice: 0.00MB citi_gf_form_view: Dados: 0.00MB + Índice: 0.00MB citi_icl_cms_nav_cache: Dados: 0.00MB + Índice: 0.00MB citi_icl_content_status: Dados: 0.00MB + Índice: 0.00MB citi_icl_core_status: Dados: 0.00MB + Índice: 0.00MB citi_icl_flags: Dados: 0.00MB + Índice: 0.00MB citi_icl_languages: Dados: 0.00MB + Índice: 0.01MB citi_icl_languages_translations: Dados: 0.10MB + Índice: 0.10MB citi_icl_locale_map: Dados: 0.00MB + Índice: 0.00MB citi_icl_message_status: Dados: 0.00MB + Índice: 0.00MB citi_icl_mo_files_domains: Dados: 0.02MB + Índice: 0.01MB citi_icl_node: Dados: 0.00MB + Índice: 0.00MB citi_icl_reminders: Dados: 0.00MB + Índice: 0.00MB citi_icl_strings: Dados: 5.61MB + Índice: 4.83MB citi_icl_string_packages: Dados: 0.01MB + Índice: 0.00MB citi_icl_string_pages: Dados: 4.61MB + Índice: 5.37MB citi_icl_string_positions: Dados: 0.00MB + Índice: 0.00MB citi_icl_string_status: Dados: 0.00MB + Índice: 0.00MB citi_icl_string_translations: Dados: 6.16MB + Índice: 2.71MB citi_icl_string_urls: Dados: 0.01MB + Índice: 0.02MB citi_icl_translate: Dados: 0.84MB + Índice: 0.03MB citi_icl_translate_job: Dados: 0.01MB + Índice: 0.01MB citi_icl_translations: Dados: 0.06MB + Índice: 0.13MB citi_icl_translation_batches: Dados: 0.00MB + Índice: 0.00MB citi_icl_translation_status: Dados: 0.72MB + Índice: 0.02MB citi_links: Dados: 0.00MB + Índice: 0.00MB citi_loginizer_logs: Dados: 0.00MB + Índice: 0.01MB citi_mailchimp_carts: Dados: 0.00MB + Índice: 0.00MB citi_options: Dados: 5.35MB + Índice: 0.11MB citi_postmeta: Dados: 3.09MB + Índice: 1.09MB citi_posts: Dados: 3.16MB + Índice: 0.22MB citi_queue: Dados: 0.00MB + Índice: 0.00MB citi_revslider_css: Dados: 0.09MB + Índice: 0.00MB citi_revslider_layer_animations: Dados: 0.00MB + Índice: 0.00MB citi_revslider_navigations: Dados: 0.00MB + Índice: 0.00MB citi_revslider_sliders: Dados: 0.04MB + Índice: 0.00MB citi_revslider_slides: Dados: 0.64MB + Índice: 0.00MB citi_revslider_static_slides: Dados: 0.00MB + Índice: 0.00MB citi_termmeta: Dados: 0.00MB + Índice: 0.01MB citi_terms: Dados: 0.01MB + Índice: 0.02MB citi_term_relationships: Dados: 0.01MB + Índice: 0.02MB citi_term_taxonomy: Dados: 0.01MB + Índice: 0.01MB citi_usermeta: Dados: 0.03MB + Índice: 0.02MB citi_users: Dados: 0.00MB + Índice: 0.01MB citi_wc_download_log: Dados: 0.00MB + Índice: 0.00MB citi_wc_product_meta_lookup: Dados: 0.00MB + Índice: 0.01MB citi_wc_webhooks: Dados: 0.00MB + Índice: 0.00MB citi_wfBlockedIPLog: Dados: 0.07MB + Índice: 0.05MB citi_wfBlocks7: Dados: 0.05MB + Índice: 0.04MB citi_wfConfig: Dados: 1.64MB + Índice: 0.02MB citi_wfCrawlers: Dados: 0.00MB + Índice: 0.00MB citi_wfFileChanges: Dados: 0.00MB + Índice: 0.00MB citi_wfFileMods: Dados: 2.81MB + Índice: 0.55MB citi_wfHits: Dados: 1.11MB + Índice: 0.18MB citi_wfHoover: Dados: 0.00MB + Índice: 0.00MB citi_wfIssues: Dados: 0.04MB + Índice: 0.01MB citi_wfKnownFileList: Dados: 1.54MB + Índice: 0.17MB citi_wfLiveTrafficHuman: Dados: 0.02MB + Índice: 0.04MB citi_wfLocs: Dados: 0.00MB + Índice: 0.00MB citi_wfLogins: Dados: 0.17MB + Índice: 0.04MB citi_wfls_2fa_secrets: Dados: 0.02MB + Índice: 0.02MB citi_wfls_settings: Dados: 0.02MB + Índice: 0.00MB citi_wfNotifications: Dados: 0.00MB + Índice: 0.00MB citi_wfPendingIssues: Dados: 0.00MB + Índice: 0.00MB citi_wfReverseCache: Dados: 0.00MB + Índice: 0.00MB citi_wfSNIPCache: Dados: 0.00MB + Índice: 0.00MB citi_wfStatus: Dados: 0.18MB + Índice: 0.07MB citi_wfTrafficRates: Dados: 0.00MB + Índice: 0.00MB citi_wplc_chat_msgs: Dados: 0.02MB + Índice: 0.00MB citi_wplc_chat_sessions: Dados: 0.02MB + Índice: 0.00MB citi_wplc_offline_messages: Dados: 0.02MB + Índice: 0.00MB citi_wplc_webhooks: Dados: 0.02MB + Índice: 0.00MB citi_yoast_seo_links: Dados: 0.03MB + Índice: 0.01MB citi_yoast_seo_meta: Dados: 0.01MB + Índice: 0.01MB ### Post Type Counts ### attachment: 587 inventory: 2 nav_menu_item: 61 oembed_cache: 1 oxy_mega_columns: 2 oxy_mega_menu: 1 oxy_portfolio_image: 36 oxy_service: 17 oxy_slideshow_image: 4 oxy_stack: 4 oxy_staff: 16 oxy_testimonial: 9 page: 94 post: 19 product: 32 product_variation: 16 revision: 757 scheduled-action: 19 shop_coupon: 74 shop_order: 267 tablepress_table: 3 wccf_checkout_field: 7 ### Security ### Secure connection (HTTPS): ❌ A sua loja não está a usar HTTPS. Saiba mais sobre HTTPS e certificados SSL. Hide errors from visitors: ✔ ### Active Plugins (35) ### Gravity Forms: por rocketgenius – 2.4.10 WPML Multilingual CMS: por OnTheGoSystems – 4.2.6 Yoast SEO Multilingual: por OnTheGoSystems – 1.0.0 Advanced Custom Fields Multilingual: por OnTheGoSystems – 1.2 Admin Menu Editor Pro: por Janis Elsts – 2.9 BackWPup: por Inpsyde GmbH – 3.6.8 Calendarista: por Alessandro Zifiglio – 7.6 Easy WP SMTP: por wpecommerce alexanderfoxc – 1.3.9.1 Envato Market: por Envato – 2.0.1 Google Analytics Dashboard for WP (GADWP): por ExactMetrics – 5.3.8 Gravity Forms Multilingual: por OnTheGoSystems – 1.5.0 Gravity Forms MailChimp Add-On: por rocketgenius – 4.6 Easy HTTPS (SSL) Redirection: por Tips and Tricks HQ – 1.9 WPBakery Page Builder: por Michael M - WPBakery.com – 5.7 Loginizer: por Raj Kothari – 1.4.1 Multibanco e MBWAY (gateway IfthenPay) para WooCommerce: por Webdados – 3.6.3.1 – Não testado com a versão activa do WooCommerce Post Duplicator: por Metaphor Creations – 2.20 Post Types Order: por Nsp Code – 1.9.4.1 Regenerate Thumbnails: por Alex Mills (Viper007Bond) – 3.1.0 Slider Revolution: por ThemePunch – 5.4.8.2 Search Exclude: por Roman Pronskiy – 1.2.2 Under Construction: por WebFactory Ltd – 3.40 Unlimited Addons for WPBakery Page Builder: por Blox Themes – 1.0.40 Invoicing with InvoiceXpress for WooCommerce - Pro: por Webdados – 2.1.8 – Não testado com a versão activa do WooCommerce WooCommerce Custom Fields: por RightPress – 2.2.5 – Não testado com a versão activa do WooCommerce WooCommerce Multilingue: por OnTheGoSystems – 4.6.2.1 – Não testado com a versão activa do WooCommerce WooCommerce: por Automattic – 3.6.2 Wordfence Security: por Wordfence – 7.3.3 Yoast SEO: por Team Yoast – 11.1.1 WPML All Import: por OnTheGoSystems – 2.1 WPML CMS Nav: por OnTheGoSystems – 1.5.1 WPML Media: por OnTheGoSystems – 2.5.2 WPML Sticky Links: por OnTheGoSystems – 1.5.0 WPML String Translation: por OnTheGoSystems – 2.10.4 WPML Translation Management: por OnTheGoSystems – 2.8.5 ### Inactive Plugins (6) ### GDPR Cookie Compliance: por Moove Agency – 2.0.8 Mailchimp for WooCommerce: por Mailchimp – 2.1.15 – Não testado com a versão activa do WooCommerce MailChimp for WordPress Multilingual: por OnTheGoSystems – 0.0.3 WooSidebars: por WooCommerce – 1.4.5 WP Live Chat Support: por WP-LiveChat – 8.0.26 WP Rollback: por Impress.org – 1.6 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: calendarista (calendarista) external (external) grouped (grouped) redq_rental (redq_rental) 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 ### Página da Loja: #796 - /loja/ Carrinho: #797 - /carrinho/ Finalizar compras: #798 - /finalizar-compra/ Minha conta: #799 - /minha-conta/ Termos e condições: #670 - /termos-condicoes/ ### Theme ### Name: Lambda Version: 1.59.9 Author URL: http://www.oxygenna.com Child Theme: ❌ – Se estiver a modificar o tema do WooCommerce ou um tema principal que não construiu pessoalmente recomendamos o uso de um tema dependente. Veja: Como criar um tema dependente WooCommerce Support: ✔ ### Templates ### Overrides: lambda/woocommerce/archive-product.php lambda/woocommerce/cart/cart-empty.php lambda/woocommerce/cart/cart-shipping.php lambda/woocommerce/cart/cart-totals.php lambda/woocommerce/cart/cart.php lambda/woocommerce/cart/mini-cart.php lambda/woocommerce/cart/shipping-calculator.php lambda/woocommerce/checkout/form-billing.php lambda/woocommerce/checkout/form-checkout.php lambda/woocommerce/checkout/form-coupon.php lambda/woocommerce/checkout/form-pay.php lambda/woocommerce/checkout/payment.php lambda/woocommerce/checkout/review-order.php lambda/woocommerce/checkout/terms.php lambda/woocommerce/checkout/thankyou.php lambda/woocommerce/content-product.php lambda/woocommerce/content-product_cat.php lambda/woocommerce/content-single-product.php lambda/woocommerce/global/form-login.php lambda/woocommerce/loop/add-to-cart.php lambda/woocommerce/loop/loop-end.php lambda/woocommerce/loop/loop-start.php lambda/woocommerce/loop/no-products-found.php lambda/woocommerce/myaccount/dashboard.php lambda/woocommerce/myaccount/downloads.php lambda/woocommerce/myaccount/form-edit-account.php lambda/woocommerce/myaccount/form-edit-address.php lambda/woocommerce/myaccount/form-login.php lambda/woocommerce/myaccount/form-lost-password.php lambda/woocommerce/myaccount/form-reset-password.php lambda/woocommerce/myaccount/my-address.php lambda/woocommerce/myaccount/navigation.php lambda/woocommerce/myaccount/orders.php lambda/woocommerce/order/form-tracking.php lambda/woocommerce/order/order-details-customer.php lambda/woocommerce/order/order-details.php lambda/woocommerce/order/order-downloads.php lambda/woocommerce/single-product/add-to-cart/grouped.php lambda/woocommerce/single-product/product-attributes.php lambda/woocommerce/single-product/review.php lambda/woocommerce/single-product/tabs/description.php lambda/woocommerce/single-product/tabs/tabs.php lambda/woocommerce/single-product/title.php lambda/woocommerce/single-product-reviews.php lambda/woocommerce/single-product.php ### Action Scheduler ### Complete: 18 Oldest: 2019-05-23 18:32:36 +0000 Newest: 2019-06-13 18:37:41 +0000 Pending: 1 Oldest: 2019-06-20 18:37:41 +0000 Newest: 2019-06-20 18:37:41 +0000 Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –Best regards
Thanks for that info!
The coupon looks setup properly.
I’d recommend setting up a staging site, then updating your WordPress version on the staging site to
5.2.2to see if that helps.If not, then I’d recommend running a full conflict test on the staging site to check your “Lambda” theme and other installed plugins. The steps for that are here:
https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Hi @colourinvasion,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Hi
Sorry for the delay.
We made the update of wordpress version to 5.2.2 and test again and the results are the same. The coupons don´t work correctly.
Those were the steps for our test:
https://colourinvasion.pt/_cliente/topotents/
We are using the edp19 coupon and you can see its settings on the prints bellow1. We made a booking for a 2Pax Tent and use the coupon edp19
2. Went to Woocommerce\Orders and updated the order to Complet
The coupon usage remains at 1/12Next,
3. The we made a order for a woocommerce product and use the same coupon edp19
And the coupon usage is update for 2/12.We sent this test to the Calendarista plugin, the plugin we are using to make the bookings, and there answer that,
“Hi, as I’ve already told you, coupons in woocommerce have little to nothing to do with Calendarista. Once the checkout step delegates payment to Woocommerce, then Woocommerce takes over.
If the payment is in completed status, the coupon code will be deducted. While knowing that this is not related to Calendarista, I went the extra mile to test and reached the same conclusion. It works correctly. You will need to fix this on your end, it is of no use for me to log in and test Woocommerce. I am not associated with Woocommerce in anyway and cannot diagnose and fix issues related to third party plugins 🙁
”We understand their response to a certain point but the fact is that the coupon usage just doens´t work when we make a booking. When buying a woocommerce product also seems to work just fine.
Can you please that a look againg!
Best regards
Hi
Can you please see our latest comment and give us a reply.
Thanks
Hi @colourinvasion –
Just to be clear – have you already conducted plugin conflict testing? Quirky issues like this can often be traced to plugins not playing nicely with one another.
Here are some troubleshooting steps you can take to see if this is the case:
1.) To begin, please make sure that your theme and all plugins are up to date.
2.) Try to deactivate all the plugins except for WooCommerce to see if the issue persists. If the problem goes away, re-activate and test the coupon after re-enabling each plugin to see if you can determine which plugin the problem originates from. This process is tedious, but often resolves issues like this. 🙂
3.) If the above does not resolve the issue, try switching your theme to the Storefront theme (https://woocommerce.com/storefront/) and see if it works correctly. If it does, you’ll want to contact your theme’s developers and see if they have a fix/update.
Please give that a shot and let us know how it goes!
We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.
Hi
We already tried all 3 options you give but the problem persists.
Do you have other suggestions?
Thanks
Hi
Can you please update this situation.
Thanks
The topic ‘Woocoommerce coupons don´t work’ is closed to new replies.