---
title: FAQs
slug: faqs
createdAt: 2023-01-04T00:32:48.000Z
---

# Why do I get a duplicate transaction decline when processing a transaction?&#x20;

When a transaction with the same credit card and amount is processed within 20 seconds of a previous transaction, you will receive a decline message due to a duplicate transaction.

# Which amount should I use in the transaction response?&#x20;

The `amounts.orderAmount` is the amount requested to be authorized or captured, while the `processorResponse.approvedAmount` is the amount that was actually processed by the processor. It is best to use the `processorResponse.approvedAmount` when a transaction is approved. However, if the transaction is declined, you should use the `amounts.orderAmount`.

NOTE: The `processorResponse.approvedAmount` may differ from the `amounts.orderAmount` if partial payments were processed on the terminal.

