Skip to content

Commit

Permalink
Regarding #962 -- updates to Payment Gateways Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
mathetos committed Aug 29, 2016
1 parent c3680ad commit c11c925
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions includes/admin/class-give-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,12 @@ 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' => 'checkbox'
'type' => 'radio_inline',
'default' => 'on',
'options' => array(
'on' => esc_html__( 'On', 'give' ),
'' => esc_html__( 'Off', 'give' )
)
),
array(
'name' => esc_html__( 'Enabled Gateways', 'give' ),
Expand Down Expand Up @@ -369,10 +374,15 @@ public function give_settings( $active_tab ) {
'default' => 'donation',
),
array(
'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' ),
'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' ),
'id' => 'disable_paypal_verification',
'type' => 'checkbox'
'type' => 'radio_inline',
'default' => 'on',
'options' => array(
'on' => esc_html__( 'Enable', 'give' ),
'' => esc_html__( 'Disable', 'give' )
)
),
array(
'name' => esc_html__( 'Offline Donations', 'give' ),
Expand All @@ -384,7 +394,12 @@ 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' => 'checkbox'
'type' => 'radio_inline',
'default' => 'on',
'options' => array(
'on' => esc_html__( 'Yes', 'give' ),
'' => esc_html__( 'No', 'give' )
)
),
array(
'name' => esc_html__( 'Offline Donation Instructions', 'give' ),
Expand Down

0 comments on commit c11c925

Please sign in to comment.