Skip to content

Commit

Permalink
Update laybuy.php
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 authored Dec 20, 2023
1 parent 8d2c266 commit 3078945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/catalog/model/extension/payment/laybuy.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
class ModelExtensionPaymentLaybuy extends Model {
public function addTransaction($status, $data = array()) {
public function addTransaction($data, $status) {
$this->log('Report: ' . print_r($data, true), '1');

$this->log('Status: ' . $status, '1');
Expand Down Expand Up @@ -230,4 +230,4 @@ public function updateCronRunTime() {
public function updateTransaction($id, $status, $report, $transaction) {
$this->db->query("UPDATE `" . DB_PREFIX . "laybuy_transaction` SET `status` = '" . (int)$status . "', `report` = '" . $this->db->escape($report) . "', `transaction` = '" . (int)$transaction . "' WHERE `laybuy_transaction_id` = '" . (int)$id . "'");
}
}
}

0 comments on commit 3078945

Please sign in to comment.