Title: Request : Description before the fields
Last modified: August 30, 2016

---

# Request : Description before the fields

 *  Resolved [Testing Things](https://wordpress.org/support/users/atx/)
 * (@atx)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/request-description-before-the-fields/)
 * Hello there and thank you for this plugin.
    I have a request about the description
   of this payment method, because the customer can choose between Paypal, bank 
   account or stripe and the other fields have all a little description telling 
   the customers what to do next and how to do it. The problem is that your extension
   doesn’t provide a way to add a description (or I’m just blind). If you could 
   add this possibility in the next release it would be so great. Thank you again.
 * [https://wordpress.org/plugins/stripe-woocommerce-addon/](https://wordpress.org/plugins/stripe-woocommerce-addon/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/request-description-before-the-fields/#post-6609307)
 * I will consider adding it in next release for sure however you can add it your
   self by following way
 * Add following in public function init_form_fields()
 *     ```
       'stripe_description' => array(
       		  'title' => __( 'Description', 'woocommerce' ),
       		  'type' => 'textarea',
       		  'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce' ),
       		  'default' => __( 'All cards are stored by &copy;Stripe servers we do not store any card details', 'woocommerce' ),
       		  'desc_tip'      => true,
       		  ),
       ```
   
 * and then add a public function in plugin class like
 *     ```
       public function get_description() {
                return apply_filters( 'woocommerce_gateway_description',$this->stripe_description, $this->id );
            }
       ```
   
 *  Thread Starter [Testing Things](https://wordpress.org/support/users/atx/)
 * (@atx)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/request-description-before-the-fields/#post-6609366)
 * Hello and thank you for the support.
    It works perfectly. I also added this line:`
   $this->stripe_description = $this->get_option( 'stripe_description' );`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Request : Description before the fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stripe-woocommerce-addon_a2c2e1.svg)
 * [Stripe Payment Gateway WooCommerce Addon](https://wordpress.org/plugins/stripe-woocommerce-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe-woocommerce-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe-woocommerce-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe-woocommerce-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe-woocommerce-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe-woocommerce-addon/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Testing Things](https://wordpress.org/support/users/atx/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/request-description-before-the-fields/#post-6609366)
 * Status: resolved