Skip to content

2.4.5 – Duplicate Orders are observed for few Orders

We are facing issue with capturing payment for few orders as Transaction ID is missing for payflow credit card payment.

It is an intermittent issue and we observed this issue as few orders are processed but payment is not captured and without Transaction ID order created in Magento admin which ideally should not happen.

The customer does not reach to Success page, but in the background order is getting created with the missing transaction ID. So customer tries to submit payment again and here we get duplicate orders. i.e. same customer, same product but multiple orders in Magento admin(Some missing transaction id and one successful order with transaction id).

Steps to reproduce:
customer try to make payment with Credit card. in that case we get only “Declined” message and in background order was created with missing transaction id and status and states are blanked.

I have checked payment logs and it says that:

‘result’ => ’12’,
‘pnref’ => ‘Something text’,
‘respmsg’ => ‘Declined: 15005-This transaction cannot be processed.’,
‘hostcode’ => ‘15005’,

I need to understand if payment declined then why order is created in Adobe admin?

debug logs says that –

report.CRITICAL: Placing an order with quote_id is failed:
Declined [] []

Does anyone have any ideas as to why this happened and how we can avoid this in the future please.