/**
  * Provide default gateway settings fields.
  *
  * @param 	array $settings
  * @param 	Charitable_Gateway $gateway 	The gateway's helper object.
  * @return  array
  * @access  public
  * @since   1.0.0
  */
 public function register_gateway_settings($settings, Charitable_Gateway $gateway)
 {
     add_filter('charitable_settings_fields_gateways_gateway_' . $gateway->get_gateway_id(), array($gateway, 'default_gateway_settings'), 5);
     add_filter('charitable_settings_fields_gateways_gateway_' . $gateway->get_gateway_id(), array($gateway, 'gateway_settings'), 15);
     return apply_filters('charitable_settings_fields_gateways_gateway_' . $gateway->get_gateway_id(), $settings);
 }
 /**
  * Add credit card fields to the donation form if this gateway requires it. 
  *
  * @param   array[] $fields
  * @param   Charitable_Gateway $gateway
  * @return  array[]
  * @access  public
  * @since   1.0.0
  */
 public function add_credit_card_fields($fields, Charitable_Gateway $gateway)
 {
     if ($gateway->requires_credit_card_form()) {
         $fields = array_merge($fields, $gateway->get_credit_card_fields());
     }
     return $fields;
 }
 /**
  * Add credit card fields to the donation form if this gateway requires it.
  *
  * @param   array[] $fields
  * @param   Charitable_Gateway $gateway
  * @return  array[]
  * @access  public
  * @since   1.0.0
  */
 public function add_credit_card_fields($fields, Charitable_Gateway $gateway)
 {
     if ($gateway->supports('credit-card')) {
         $fields = array_merge($fields, $gateway->get_credit_card_fields());
     }
     return $fields;
 }