Virtina won a prestigious project from a wedding and events management company in the USA. The company is responsible for organizing, arranging, and coordinating every aspect of a wedding day. The company aimed to revolutionize the way weddings were conducted.
The company allowed its customers to plan a wedding on a budget of their choice. They would supply uplighting rentals, event pipe and drape, head table drapery backdrops, and photo booths for wedding ceremonies. The nationwide service would allow its customers to micromanage every attribute of a wedding.
The client was running their eCommerce activities on WooCommerce. For Checkout purposes, the client was relying on Stripe. Stripe is a well-renowned payment solution that accepts and processes payments online with ease. However, during live testing of the same with small orders, the client encountered an error.
During this live testing, they noticed a redirection issue on the checkout page. When a user inputs a valid credit card with either improper CVV or improper expiration date for the order in their cart at checkout, the order will try to process as usual, but it'll fail after a while.
An Ajax will pop up for a brief second on the checkout page. As a result of this, the user will see a loading spinner visual for a while, then the session will clear, and the cart will clear as well. The user would now be looking at an empty cart. On top of that, the process of either an improper CVV or improper expiration date creates a failed order.
The failed order that gets created pulls from the client's inventory. However, that shouldn't be the case since the payment wasn't processed. This failed order is then visible in the admin section, under failed orders. The client requested us to prevent the creation of failed orders since the transaction wasn't successful.
The client wanted the failed transaction not to deduct any product quantity from their inventory. In essence, it does not pull from their inventory, and the session doesn't clear, so the user stays on the checkout page. This way, their stock would not be affected, and the user can easily input either the correct CVV or the valid expiration date.
The Woo experts at Virtina extensively worked on the Stripe code and quickly resolved the payment issue. As such, users that could not complete their transaction or if their payment failed for any reason would stay on the same checkout page. They wouldn't need to re-add the items to their cart. Also, now the admin wouldn't need to deal with a failed order, and the stock levels would stay the same.
Start a project with us!
Virtina can help you to increase your revenue, improve profit and enhance customer experience.