You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$notice = 'Thank you for shopping with us.<br />Your payment transaction was successful, but the amount paid is not the same as the total order amount.<br />Your order is currently on-hold.<br />Kindly contact us for more information regarding your order and payment status.';
460
+
$notice_type = 'notice';
461
+
462
+
// Add Customer Order Note
463
+
$order->add_order_note( $notice, 1 );
464
+
465
+
// Add Admin Order Note
466
+
$order->add_order_note('<strong>Look into this order</strong><br />This order is currently on hold.<br />Reason: Amount paid is less than the total order amount.<br />Amount Paid was <strong>₦'.$amount_paid.'</strong> while the total order amount is <strong>₦'.$order_total.'</strong><br />Paystack Transaction Reference: '.$paystack_ref );
0 commit comments