Skip to content

Commit

Permalink
Revert "Regarding #962 -- updates to Payment Gateways Tab"
Browse files Browse the repository at this point in the history
This reverts commit c11c925.
  • Loading branch information
mathetos committed Aug 29, 2016
1 parent cb2d701 commit 3bd6b62
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions includes/admin/class-give-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,7 @@ public function give_settings( $active_tab ) {
'name' => esc_html__( 'Test Mode', 'give' ),
'desc' => esc_html__( 'While in test mode no live donations are processed. To fully use test mode, you must have a sandbox (test) account for the payment gateway you are testing.', 'give' ),
'id' => 'test_mode',
'type' => 'radio_inline',
'default' => 'on',
'options' => array(
'on' => esc_html__( 'On', 'give' ),
'' => esc_html__( 'Off', 'give' )
)
'type' => 'checkbox'
),
array(
'name' => esc_html__( 'Enabled Gateways', 'give' ),
Expand Down Expand Up @@ -374,15 +369,10 @@ public function give_settings( $active_tab ) {
'default' => 'donation',
),
array(
'name' => esc_html__( 'PayPal IPN Verification', 'give' ),
'desc' => esc_html__( 'If donations are not getting marked as complete, then disable this feature. This forces the site to use a slightly less secure method of verifying donations.', 'give' ),
'name' => esc_html__( 'Disable PayPal IPN Verification', 'give' ),
'desc' => esc_html__( 'If donations are not getting marked as complete, then check this box. This forces the site to use a slightly less secure method of verifying donations.', 'give' ),
'id' => 'disable_paypal_verification',
'type' => 'radio_inline',
'default' => 'on',
'options' => array(
'on' => esc_html__( 'Enable', 'give' ),
'' => esc_html__( 'Disable', 'give' )
)
'type' => 'checkbox'
),
array(
'name' => esc_html__( 'Offline Donations', 'give' ),
Expand All @@ -394,12 +384,7 @@ public function give_settings( $active_tab ) {
'name' => esc_html__( 'Collect Billing Details', 'give' ),
'desc' => esc_html__( 'Enable to request billing details for offline donations. Will appear above offline donation instructions. Can be enabled/disabled per form.', 'give' ),
'id' => 'give_offline_donation_enable_billing_fields',
'type' => 'radio_inline',
'default' => 'on',
'options' => array(
'on' => esc_html__( 'Yes', 'give' ),
'' => esc_html__( 'No', 'give' )
)
'type' => 'checkbox'
),
array(
'name' => esc_html__( 'Offline Donation Instructions', 'give' ),
Expand Down

0 comments on commit 3bd6b62

Please sign in to comment.