mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Log pui payment instructions in order
This commit is contained in:
parent
c880815e34
commit
63cb0bad56
1 changed files with 2 additions and 0 deletions
|
@ -462,6 +462,8 @@ class PayUponInvoice {
|
|||
if ( $order->get_payment_method() === 'ppcp-pay-upon-invoice-gateway' ) {
|
||||
$instructions = $order->get_meta( 'ppcp_ratepay_payment_instructions_payment_reference' );
|
||||
if ( $instructions ) {
|
||||
$this->logger->info("Displaying payment instructions for WC order #{$order->get_id()}");
|
||||
$this->logger->info(wc_print_r($instructions, true));
|
||||
add_meta_box(
|
||||
'ppcp_pui_ratepay_payment_instructions',
|
||||
__( 'RatePay payment instructions', 'woocommerce-paypal-payments' ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue