Skip to content

Commit

Permalink
paymentTyp::add_transaction() accepts $user_note
Browse files Browse the repository at this point in the history
  • Loading branch information
damanic committed Nov 22, 2017
1 parent aaf96d7 commit 60a7aeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions classes/shop_paymenttype.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,14 @@ public function update_transaction_status($host_obj, $order, $transaction_id, $t
* @param string $transaction_id Specifies a transaction identifier returned by the payment gateway. Example: kjkls
* @param object Shop_TransactionUpdate $transaction_data
*/
public function add_transaction($host_obj, $order, $transaction_id, $transaction_data)
public function add_transaction($host_obj, $order, $transaction_id, $transaction_data, $user_note = null)
{
Shop_PaymentTransaction::add_transaction(
$order,
$host_obj->id,
$transaction_id,
$transaction_data
$transaction_data,
$user_note
);
}

Expand Down

0 comments on commit 60a7aeb

Please sign in to comment.