Skip to content

Commit

Permalink
Merge pull request #13 from tpay-com/611
Browse files Browse the repository at this point in the history
Changing order note
  • Loading branch information
krzGablo authored Jul 29, 2024
2 parents cdc808f + d17fd7d commit b3f6bd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Ipn/UpdateOrderStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function orderIsComplete(WC_Order $order, array $response): void
$status = (@get_option(
'tpay_settings_option_name'
)['global_default_on_hold_status']) == 'completed' ? 'completed' : 'processing';
$order->update_status($status);
$order->update_status($status, sprintf('%s : %s. ', __('CRC number in Tpay', 'tpay'), $response['tr_crc']));
$order->payment_complete($order->get_transaction_id());
$this->gateway_helper->tpay_logger(
'Przyjęcie płatności dla zamówienia: '.$order->get_id().', zrzut odpowiedzi:'
Expand Down
Binary file modified lang/tpay-pl_PL.mo
Binary file not shown.
3 changes: 3 additions & 0 deletions lang/tpay-pl_PL.po
Original file line number Diff line number Diff line change
Expand Up @@ -460,3 +460,6 @@ msgstr "Nazwa pola NIP"

msgid "If you're added extra meta data including tax id to order - place here meta field name"
msgstr "Jeśli dodałeś dodatkowe metadane, w tym identyfikator podatkowy do zamówienia - umieść tutaj nazwę pola meta"

msgid "CRC number in Tpay"
msgstr "Numer CRC w Tpay"

0 comments on commit b3f6bd7

Please sign in to comment.