Проблема с купоном Wordpress
1. The essence of the problem
When applying the coupon, everything works fine: the discount is applied, the order is created.
The coupon expires immediately after going to the online payment page, even if the payment itself has not yet gone through.
If the customer returns back to the checkout (for example, due to an error or cancellation of payment), they can no longer reapply the same coupon — a message appears saying "coupon code applied".
According to logic, the coupon should "expire" only after successful payment.
2. Current behavior
The coupon is considered used already at the checkout stage, although the order has not yet been paid.
After re-entering the site, the coupon can be applied again — which means the problem lies in the session/order status when returning to the checkout.
3. Needs to be fixed
So that the coupon is reserved at checkout but is finally deducted only after successful payment.
When the customer returns to the checkout (if the order is not paid), the coupon should again be available for use.
-
404 Hello! I am ready to complete this task. The budget is acceptable.
I am writing a few more words to make it 60 characters.
-
4429 80 1 4 Trust a professional with over 10 years of experience! The rate and deadlines are current! I look forward to collaboration! Experience in commercial development of online stores on CMS, business portals, and corporate websites - 11 years! +CMS: WordPress(+Woocommerce) PrestaShop/Opencart/Joomla/Bitrix/MODX/DLE/Shopify php/html/css/js/Mysql, PhotoShop/Figma Examples of work (from scratch, turnkey): https://wildandorganic.com/ https://cryptosignals.org/ https://locs-ua.com/ https://www.grower.com.ua/ https://www.alternativemedicine.com.ua/ https://silkkiss.ua/ https://nordtrade.online/ https://v12coffee.com.ua/franchise/ https://smrtalgo.com/ https://sengero.no/ https://beautybysim.no/ https://sonatagalleri.com/ https://www.solmy-realestate.com/ https://www.emmanuel.com.ua/ https://www.onsitecomputersinc.com/ https://express-tehbud.com/ https://korostenporcelain.com.ua/ https://sladok.com.ua/ https://pricemds.com/ https://picupmedia.com/ https://www.serasar.com/ https://integrisit.com/
-
1786 19 0 1 Hello!
We are working on the development of software, websites, automation systems, and more.
We take on projects "from scratch" as well as technical refinements.
We work with a wide stack: WordPress, Opencart, Shopify, WIX, Python, JavaScript, C++, C#, Unity 3D, SQL, MSSQL, WPF, WinForms.
We have practical experience in:
– system and application programming
– business process automation
… – information security
– technical project management
After project delivery — we provide free technical support for 14 days.
We work quickly, clearly, and results-oriented.
We look forward to collaborating!
-
629 4 0 Good evening
I am ready to fulfill your order
I guarantee speed and quality
The problem is that WooCommerce creates the order and deducts the coupon code even before the payment is completed. I propose two options. Add a delay for deducting the coupon code or deduct the coupon code when the order status is processing and not pending.
-
477 2 2 Hello!
I have experience working with WordPress and PHP.
I can quickly find and fix the coupon issue so that it works correctly.
After the fix, I will test the functionality.
-
927 8 0 Good day,
I am working on WordPress development. Are you using the basic settings of WooCommerce for the coupon?
-
10970 224 0 1 The problem is that when transitioning to order-pay or order-received, WooCommerce clears the cart regardless of the payment status. And this is very cumbersome, as many functions trigger the cart clearing.
The only option is to simply notify the user that the payment has not gone through and show a link to order-pay, where the amount with the promo code will be displayed.
Write to me, I can do it.
Current freelance projects in the category Content Management Systems
Edits for the website on OpencartThe site veselkatm.com.ua on OpenCart Version 3.0.3.8 1) Complete the cart Implement delivery methods: - Ukrposhta - Nova Poshta Install and configure modules so that everything works correctly Implement payment methods: - Cash on delivery - Bank transfer - Card payment… Content Management Systems, Web Programming ∙ 19 hours 38 minutes back ∙ 50 proposals |
Comprehensive refinement of the WooCommerce store (UX, responsiveness, functionality)It is necessary to complete the development of the online store on WordPress (WooCommerce). Current site: https://lerise.com.ua/ Reference for functionality and usability level: https://katysoho.com.ua/Important It is not necessary to radically change the design of the site.… Content Management Systems, HTML & CSS ∙ 1 day 18 hours back ∙ 36 proposals |
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 1 day 18 hours back ∙ 61 proposals |
The WooCommerce cart (WordPress) is broken — it does not add products and the cart page does not open.On the website of the online store https://www.dobryi-gospodar.com/ (WordPress + WooCommerce), the checkout function has completely stopped working. When clicking the "Add to cart" button (both in the product card and in the catalog), a long loading process begins (the indicator… Content Management Systems, PHP ∙ 1 day 20 hours back ∙ 58 proposals |
Development of custom software (Android application + CMS) for SUNMI K2 self-service kiosks (Fast food)
23 USD
We are looking for an experienced team or a Middle/Senior Android developer (possibly with Full-stack skills) to create proprietary software for self-service kiosks for a fast food retail chain. Currently, our terminals operate on a ready-made cloud integrator, but we are… Content Management Systems, Desktop Apps ∙ 2 days 21 hours back ∙ 19 proposals |