How do I create radio form field in woocommerce payment plugin using php code

enter image description here

I need to create radio form field using php code. I have tried this cod

    'authentication_mode'    => array(
            'title'       => __( 'Authentication Mode', 'woocommerce-gateway-multibanco' ),
            'type'        => 'radio',
            'default'     => '',
         'values' => array(                                                             
      array(
            'id' => 'prod',
            'value' => 1,

      ),
      array(
            'id' => 'test',
            'value' => 0,

      )
       ),

But this code doesn’t work for me any one suggest me.
And I also want to use line title separator between fields.

Read more here: How do I create radio form field in woocommerce payment plugin using php code

Leave a Reply

Your email address will not be published. Required fields are marked *