[Skip to main content](#vessel-content)

#   Automatic retry in case of payment failure

##

- **[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")**
- [![ezomerdijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile") Topic Author
- [ Offline](/forum/user/38681-ezomerdijk)

Less More

- Posts: 92
- Thank you received: 3
-
-

2 years 5 months ago [\#361244](#361244) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  *[Automatic retry in case of payment failure](/forum/27-checkout/908216-automatic-retry-in-case-of-payment-failure#361244 "-- url of the page with the problem -- : crux.nl -- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4  Hi, Whenever the payment of a customer fails, the order gets the status &quot;cancelled&quot;. Most of the time, that is not what our customers want (or what we want). Is it possible to do an automatic retry in case of failure.  Kind regard Elsbeth")* was created by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")*

-- url of the page with the problem -- : crux.nl
-- HikaShop version -- : 5.0.4
-- Joomla version -- : 4.4.4

Hi,
Whenever the payment of a customer fails, the order gets the status "cancelled". Most of the time, that is not what our customers want (or what we want). Is it possible to do an automatic retry in case of failure.

Kind regard
Elsbeth

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODIxNi1hdXRvbWF0aWMtcmV0cnktaW4tY2FzZS1vZi1wYXltZW50LWZhaWx1cmU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86582
- Thank you received: 14322
-
-

2 years 5 months ago [\#361247](#361247) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Automatic retry in case of payment failure](/forum/27-checkout/908216-automatic-retry-in-case-of-payment-failure#361247 "-- url of the page with the problem -- : crux.nl -- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4  Hi, Whenever the payment of a customer fails, the order gets the status &quot;cancelled&quot;. Most of the time, that is not what our customers want (or what we want). Is it possible to do an automatic retry in case of failure.  Kind regard Elsbeth")*

Hi,

Well, what happens depends on many things. Like, what payment plugin is used and how it is configured, or how HikaShop itself is configured.
For example, some payment plugins will request the credit card information during the checkout process and will process the payment when the order is being created, when the user clicks on "finish". So if the payment fails, the order is not created and the user goes back to the checkout with an error message, and he can retry, and no order is cancelled, since no order has been created.

Also, in the HikaShop configuration, you have the "clear cart when order is" setting. If this setting is set to "created", then the cart will be cleared when the user clicks on the "finish" button, before being redirected to the payment gateway by the payment plugin (which is usually what happens). In that case, if the payment fails on the payment gateway, and the payment gateway doesn't allow the customer to retry, the order will be cancelled, but the customer can't be brought back to the checkout since the cart has already been cleared. In that case, you rather want to set this setting to "confirmed" so that the cart is only cleared after the user comes back from the payment gateway and the payment is successful. That way, if the payment fails, the order will be cancelled, and the user will go back to the checkout, and he will be able to click on "finish" again to create a new order and try again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODIxNi1hdXRvbWF0aWMtcmV0cnktaW4tY2FzZS1vZi1wYXltZW50LWZhaWx1cmU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")**
- [![ezomerdijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile") Topic Author
- [ Offline](/forum/user/38681-ezomerdijk)

Less More

- Posts: 92
- Thank you received: 3
-
-

2 years 5 months ago [\#361255](#361255) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[Automatic retry in case of payment failure](/forum/27-checkout/908216-automatic-retry-in-case-of-payment-failure#361255 "-- url of the page with the problem -- : crux.nl -- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4  Hi, Whenever the payment of a customer fails, the order gets the status &quot;cancelled&quot;. Most of the time, that is not what our customers want (or what we want). Is it possible to do an automatic retry in case of failure.  Kind regard Elsbeth")*

Thanks a lot! you definitely helped me in the right direction. I changed the order status for failed payments in the payment plugin.
This post can be closed

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODIxNi1hdXRvbWF0aWMtcmV0cnktaW4tY2FzZS1vZi1wYXltZW50LWZhaWx1cmU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
