"Card", // "plain" => "Plain" // ]; public $successManualReviewCodePattern = '/^(000\.400\.0|000\.400\.100)/'; public $successCodePattern = '/^(800\.400\.5|100\.400\.500)/'; /** * * the Brands supported by the gateway * @var array $supported_brands */ protected $supported_brands = [ "HYPERCASH" => "Hypercash", ]; protected $order_id; public function boot() { $this->order_status = 'on-hold'; if (!is_order_received_page()) add_action('woocommerce_order_details_before_order_table', [$this, 'print_invoice_id']); } public function order_received_text($thanks_text, $order) { echo "

". esc_html($thanks_text) ."

"; $this->print_invoice_id($order); } public function print_invoice_id($order) { $invoice_id = $order->get_meta('invoice_id'); if ($invoice_id) { ?>