diff --git a/src/Transaction.inc b/src/Transaction.inc
index 50517a0..f0ff0f2 100644
--- a/src/Transaction.inc
+++ b/src/Transaction.inc
@@ -67,12 +67,12 @@ abstract class Transaction {
 
       if ($this->isNew) {
         $this->transaction = commerce_payment_transaction_new();
+        $this->transaction->amount = (int) $this->orderWrapper->commerce_order_total->amount->value();
       }
 
       // Do not allow to change values below.
       $this->transaction->uid = $this->orderWrapper->uid->value();
       $this->transaction->order_id = $this->orderWrapper->order_id->value();
-      $this->transaction->amount = (int) $this->orderWrapper->commerce_order_total->amount->value();
       $this->transaction->currency_code = $this->orderWrapper->commerce_order_total->currency_code->value();
     }
     catch (\Exception $e) {
