From de874bd4438b1f4755c7444f7fb158f324e8efbb Mon Sep 17 00:00:00 2001 From: SilverFire - Dmitry Naumenko Date: Thu, 10 Mar 2016 17:17:48 +0200 Subject: [PATCH] OldCompletePurchaseResponse::getTransactionId() returns ik_payment_id instead of ik_trans_id getTransactionReference() returns ik_trans_id instead of ik_payment_id --- src/Message/OldCompletePurchaseResponse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Message/OldCompletePurchaseResponse.php b/src/Message/OldCompletePurchaseResponse.php index 548e7d7..d06b6b7 100644 --- a/src/Message/OldCompletePurchaseResponse.php +++ b/src/Message/OldCompletePurchaseResponse.php @@ -34,7 +34,7 @@ public function getCheckoutId() */ public function getTransactionId() { - return $this->data['ik_trans_id']; + return $this->data['ik_payment_id']; } /** @@ -42,7 +42,7 @@ public function getTransactionId() */ public function getTransactionReference() { - return $this->data['ik_payment_id']; + return $this->data['ik_trans_id']; } /**