Skip to content

Commit 7a0776f

Browse files
dyushkindyushkin
authored andcommitted
MAGETWO-99035: Payflow Field format error: 10413-The totals of the cart item amounts do not match order amounts.
1 parent 5c7e13f commit 7a0776f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Paypal/Model/Payflow/Transparent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ public function authorize(InfoInterface $payment, $amount)
192192

193193
try {
194194
$this->responseValidator->validate($response, $this);
195-
// phpcs:ignore Magento2.Exceptions.DirectThrow
196195
} catch (LocalizedException $exception) {
197196
$payment->setParentTransactionId($response->getData(self::PNREF));
198197
$this->void($payment);
198+
// phpcs:ignore Magento2.Exceptions.DirectThrow
199199
throw new LocalizedException(__("The payment couldn't be processed at this time. Please try again later."));
200200
}
201201

0 commit comments

Comments
 (0)