diff --git a/Plugin/SipsPlugin.php b/Plugin/SipsPlugin.php index 6c9b60f..4250678 100644 --- a/Plugin/SipsPlugin.php +++ b/Plugin/SipsPlugin.php @@ -58,7 +58,7 @@ public function approveAndDeposit(FinancialTransactionInterface $transaction, $r $transaction->setResponseCode(PluginInterface::RESPONSE_CODE_SUCCESS); $transaction->setReasonCode(PluginInterface::REASON_CODE_SUCCESS); - $transaction->setProcessedAmount($data->get('amount') / 100); + $transaction->setProcessedAmount($data->get('sub_amount') / 100); } }