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

#   restart order status from "confirmed" to "created" automatically sometimes.

##

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 10 months ago -  3 years 10 months ago [\#348846](#348846) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[restart order status from "confirmed" to "created" automatically sometimes.](/forum/29-payment-methods/905815-restart-order-status-from-confirmed-to-created-automatically-sometimes#348846 "hi some times when some of my user purchase some product the order status change automatically to created after it is confirmed. please look at the attached picture:  I could not guess any reason and I don't even know under what conditions it occurs so that I can fix it. also maybe you see some non-english character, it is translated of AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION ORDER&#95;CREATED  also i use trigger for enrol users to some course via custom hikashop plugin.but my problem is not related my custom plugin and it work correctly and just problem in History of order. i want to get list of confimed order from hikashop and i can not because final status similar orders is created. Also, I can't guess that this problem is related to the payment gateway plugin. Because this problem occurs with another plugin on another site at some times and for some users for some products.")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

hi
some times when some of my user purchase some product the order status change automatically to created after it is confirmed. please look at the attached picture:
[ ![Snapshot&#95;23-01-31&#95;19-26-48.png](/forum/attachment/56417) ](/forum/attachment/56417 "...1&#95;19-26-48.png")

I could not guess any reason and I don't even know under what conditions it occurs so that I can fix it.
also maybe you see some non-english character, it is translated of
AUTOMATIC_PAYMENT_NOTIFICATION
AUTOMATIC_PAYMENT_NOTIFICATION
AUTOMATIC_PAYMENT_NOTIFICATION
AUTOMATIC_PAYMENT_NOTIFICATION
ORDER_CREATED

also i use trigger for enrol users to some course via custom hikashop plugin.but my problem is not related my custom plugin and it work correctly and just problem in History of order. i want to get list of confimed order from hikashop and i can not because final status similar orders is created.
Also, I can't guess that this problem is related to the payment gateway plugin. Because this problem occurs with another plugin on another site at some times and for some users for some products.

- [ ![Snapshot&#95;23-01-31&#95;19-26-48.png](/forum/attachment/56417) ](/forum/attachment/56417 "...1&#95;19-26-48.png") [ ](/forum/attachment/56417?download=1 "...1&#95;19-26-48.png")

Last edit: 3 years 10 months ago by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

3 years 10 months ago -  3 years 10 months ago [\#348852](#348852) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[restart order status from "confirmed" to "created" automatically sometimes.](/forum/29-payment-methods/905815-restart-order-status-from-confirmed-to-created-automatically-sometimes#348852 "hi some times when some of my user purchase some product the order status change automatically to created after it is confirmed. please look at the attached picture:  I could not guess any reason and I don't even know under what conditions it occurs so that I can fix it. also maybe you see some non-english character, it is translated of AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION ORDER&#95;CREATED  also i use trigger for enrol users to some course via custom hikashop plugin.but my problem is not related my custom plugin and it work correctly and just problem in History of order. i want to get list of confimed order from hikashop and i can not because final status similar orders is created. Also, I can't guess that this problem is related to the payment gateway plugin. Because this problem occurs with another plugin on another site at some times and for some users for some products.")*

Hello,

We will need these elements in order to better understand the situation, so can you provide :
**1.** Your Order Statuses listing complete **screenshot** (System dropdown =&gt; Order Statuses)
**2.** Precise the Payment plugin precise **name** used in your specific case
**3.**Your relative payment method settings **screenshot**

Awaiting your elements to progress
Regards

Last edit: 3 years 10 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 10 months ago -  3 years 10 months ago [\#348979](#348979) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[restart order status from "confirmed" to "created" automatically sometimes.](/forum/29-payment-methods/905815-restart-order-status-from-confirmed-to-created-automatically-sometimes#348979 "hi some times when some of my user purchase some product the order status change automatically to created after it is confirmed. please look at the attached picture:  I could not guess any reason and I don't even know under what conditions it occurs so that I can fix it. also maybe you see some non-english character, it is translated of AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION ORDER&#95;CREATED  also i use trigger for enrol users to some course via custom hikashop plugin.but my problem is not related my custom plugin and it work correctly and just problem in History of order. i want to get list of confimed order from hikashop and i can not because final status similar orders is created. Also, I can't guess that this problem is related to the payment gateway plugin. Because this problem occurs with another plugin on another site at some times and for some users for some products.")*

Hello and excuse me for late to reply.
for
1-
[ ![2023-02-04&#95;18-08-56.jpg](/forum/attachment/56451) ](/forum/attachment/56451 "...4&#95;18-08-56.jpg")

2-
it is for iranian payment gateway but it seems not have any problem. but you understand better than me.
3-
[ ![dddd.png](/forum/attachment/56450) ](/forum/attachment/56450 "dddd.png")

- [ ![dddd.png](/forum/attachment/56450) ](/forum/attachment/56450 "dddd.png") [ ](/forum/attachment/56450?download=1 "dddd.png")
- [ ![2023-02-04&#95;18-08-56.jpg](/forum/attachment/56451) ](/forum/attachment/56451 "...4&#95;18-08-56.jpg") [ ](/forum/attachment/56451?download=1 "...4&#95;18-08-56.jpg")

Last edit: 3 years 10 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDU4MTUtcmVzdGFydC1vcmRlci1zdGF0dXMtZnJvbS1jb25maXJtZWQtdG8tY3JlYXRlZC1hdXRvbWF0aWNhbGx5LXNvbWV0aW1lcz90bXBsPW1hcmtkb3du) 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: 86593
- Thank you received: 14334
-
-

3 years 9 months ago [\#348989](#348989) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[restart order status from "confirmed" to "created" automatically sometimes.](/forum/29-payment-methods/905815-restart-order-status-from-confirmed-to-created-automatically-sometimes#348989 "hi some times when some of my user purchase some product the order status change automatically to created after it is confirmed. please look at the attached picture:  I could not guess any reason and I don't even know under what conditions it occurs so that I can fix it. also maybe you see some non-english character, it is translated of AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION AUTOMATIC&#95;PAYMENT&#95;NOTIFICATION ORDER&#95;CREATED  also i use trigger for enrol users to some course via custom hikashop plugin.but my problem is not related my custom plugin and it work correctly and just problem in History of order. i want to get list of confimed order from hikashop and i can not because final status similar orders is created. Also, I can't guess that this problem is related to the payment gateway plugin. Because this problem occurs with another plugin on another site at some times and for some users for some products.")*

Hi,

I checked the code of the plugin, and I think it comes from the plugin code.
I would recommend adding the code: Code:

if($dbOrder-&gt;order_status == $this-&gt;payment_params-&gt;verified_status) return;

before the line: Code:

if (!empty($_GET['Authority'])) {

That way, if the order has already been confirmed, it won't do anything even if the payment gateway contacts it several times.
The best thought would be to report the issue to the developer of the plugin, like you did here, to let them know. They have a better understanding than me on how the plugin and the payment gateway work, and might prefer another kind of solution.

The following user(s) said Thank You: [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDU4MTUtcmVzdGFydC1vcmRlci1zdGF0dXMtZnJvbS1jb25maXJtZWQtdG8tY3JlYXRlZC1hdXRvbWF0aWNhbGx5LXNvbWV0aW1lcz90bXBsPW1hcmtkb3du) 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.058 seconds

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