We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67ef72d commit 1598fadCopy full SHA for 1598fad
1 file changed
src/PayoneBundle/Registry/Registry.php
@@ -161,7 +161,7 @@ public function findTransactionLogsForPayoneReference($payoneReference)
161
162
$db = Db::get();
163
$result = $db->fetchRow(
164
- "SELECT * FROM " . self::LOG_TABLE_NAME . " WHERE `" . self::COLUMN__PAYONE_REFERENCE . "` = ? AND (`method` = 'preauthorization' OR `method` = 'authorization') ",
+ "SELECT * FROM " . self::LOG_TABLE_NAME . " WHERE `" . self::COLUMN__PAYONE_REFERENCE . "` = ? AND (`type` = 'preauthorization' OR `type` = 'authorization') ",
165
[$payoneReference]
166
);
167
0 commit comments