mirror of
https://github.com/10h30/woo-viet.git
synced 2026-06-05 15:09:49 +09:00
Handle order notes
This commit is contained in:
@@ -250,8 +250,8 @@ abstract class WooViet_OnePay_Abstract extends WC_Payment_Gateway {
|
||||
$order = wc_get_order( $order_id );
|
||||
|
||||
// Add the order note for the reference
|
||||
$order_note = sprintf(
|
||||
__( 'OnePay Domestic Gateway Info | Code: %1$s | Message: %2$s | MerchantTxnRef: %3$s | Type: %4$s', 'woo-viet' ),
|
||||
$order_note = get_called_class() . sprintf(
|
||||
__( ' Gateway Info | Code: %1$s | Message: %2$s | MerchantTxnRef: %3$s | Type: %4$s', 'woo-viet' ),
|
||||
$vpc_TxnResponseCode,
|
||||
$this->OnePay_getResponseDescription( $vpc_TxnResponseCode ),
|
||||
$vpc_MerchTxnRef,
|
||||
|
||||
Reference in New Issue
Block a user