Skip to content

Commit

Permalink
Added filter value to the fields array.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Nov 4, 2015
1 parent 1a7d9fb commit 1034387
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/GatewaySettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function fields( array $fields ) {

// PSPID
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone',
'meta_key' => '_pronamic_gateway_ogone_psp_id',
'title' => __( 'PSPID', 'pronamic_ideal' ),
Expand All @@ -75,6 +76,7 @@ public function fields( array $fields ) {

// Hash algorithm
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone',
'meta_key' => '_pronamic_gateway_ogone_hash_algorithm',
'title' => __( 'Hash algorithm', 'pronamic_ideal' ),
Expand All @@ -89,6 +91,7 @@ public function fields( array $fields ) {

// SHA-IN Pass phrase
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone',
'meta_key' => '_pronamic_gateway_ogone_sha_in_pass_phrase',
'title' => __( 'SHA-IN Pass phrase', 'pronamic_ideal' ),
Expand All @@ -100,6 +103,7 @@ public function fields( array $fields ) {

// SHA-OUT Pass phrase
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone',
'meta_key' => '_pronamic_gateway_ogone_sha_out_pass_phrase',
'title' => __( 'SHA-OUT Pass phrase', 'pronamic_ideal' ),
Expand All @@ -111,6 +115,7 @@ public function fields( array $fields ) {

// User ID
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone',
'meta_key' => '_pronamic_gateway_ogone_user_id',
'title' => __( 'User ID', 'pronamic_ideal' ),
Expand All @@ -121,6 +126,7 @@ public function fields( array $fields ) {

// Password
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone',
'meta_key' => '_pronamic_gateway_ogone_password',
'title' => __( 'Password', 'pronamic_ideal' ),
Expand All @@ -131,6 +137,7 @@ public function fields( array $fields ) {

// Order ID
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone',
'meta_key' => '_pronamic_gateway_ogone_order_id',
'title' => __( 'Order ID', 'pronamic_ideal' ),
Expand Down Expand Up @@ -176,6 +183,7 @@ public function fields( array $fields ) {

// Parameter Variable
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone_direct',
'meta_key' => '_pronamic_gateway_ogone_param_var',
'title' => __( 'Parameter Variable', 'pronamic_ideal' ),
Expand All @@ -198,6 +206,7 @@ public function fields( array $fields ) {

// Template Page
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone_look',
'meta_key' => '_pronamic_gateway_ogone_template_page',
'title' => __( 'Template Page', 'pronamic_ideal' ),
Expand All @@ -215,6 +224,7 @@ public function fields( array $fields ) {

// SHA-IN Pass phrase
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone_directlink',
'meta_key' => '_pronamic_gateway_ogone_directlink_sha_in_pass_phrase',
'title' => __( 'SHA-IN Pass phrase', 'pronamic_ideal' ),
Expand All @@ -226,6 +236,7 @@ public function fields( array $fields ) {

// 3-D Secure
$fields[] = array(
'filter' => FILTER_SANITIZE_STRING,
'section' => 'ogone_directlink',
'meta_key' => '_pronamic_gateway_ogone_3d_secure_enabled',
'title' => __( '3-D Secure', 'pronamic_ideal' ),
Expand Down

0 comments on commit 1034387

Please sign in to comment.