mirror of
https://github.com/10h30/woo-viet.git
synced 2026-07-11 10:46:14 +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 );
|
$order = wc_get_order( $order_id );
|
||||||
|
|
||||||
// Add the order note for the reference
|
// Add the order note for the reference
|
||||||
$order_note = sprintf(
|
$order_note = get_called_class() . sprintf(
|
||||||
__( 'OnePay Domestic Gateway Info | Code: %1$s | Message: %2$s | MerchantTxnRef: %3$s | Type: %4$s', 'woo-viet' ),
|
__( ' Gateway Info | Code: %1$s | Message: %2$s | MerchantTxnRef: %3$s | Type: %4$s', 'woo-viet' ),
|
||||||
$vpc_TxnResponseCode,
|
$vpc_TxnResponseCode,
|
||||||
$this->OnePay_getResponseDescription( $vpc_TxnResponseCode ),
|
$this->OnePay_getResponseDescription( $vpc_TxnResponseCode ),
|
||||||
$vpc_MerchTxnRef,
|
$vpc_MerchTxnRef,
|
||||||
|
|||||||
Reference in New Issue
Block a user