Created
May 31, 2016 02:00
-
-
Save ChrisFlannagan/5ed116c35b97b601fc6d26dcd7085bca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Fields used to set our API keys for different gateways | |
public $stripe_field_options = array( | |
'stripe-label' => array( 'label' => 'Stripe Shortcode', 'type' => 'admin', 'size' => '', 'admin' => 'row', 'extra' => '[name-your-donation gateway="stripe"]' ), | |
'stripe-mode' => array( 'label' => 'Stripe Test Mode', 'type' => 'checkbox', 'size' => '', 'admin' => 'checkbox', 'extra' => '' ), | |
'stripe-tsk' => array( 'label' => 'Stripe Test Secret Key', 'type' => 'text', 'size' => '30', 'admin' => 'text', 'extra' => '' ), | |
'stripe-tpk' => array( 'label' => 'Stripe Test Public Key', 'type' => 'text', 'size' => '30', 'admin' => 'text', 'extra' => '' ), | |
'stripe-lsk' => array( 'label' => 'Stripe Live Secret Key', 'type' => 'text', 'size' => '30', 'admin' => 'text', 'extra' => '' ), | |
'stripe-lpk' => array( 'label' => 'Stripe Live Public Key', 'type' => 'text', 'size' => '30', 'admin' => 'text', 'extra' => '' ), | |
); | |
public $authnet_field_options = array( | |
'authnet-label' => array( 'label' => 'Authorize.net Shortcode', 'type' => 'admin', 'size' => '', 'admin' => 'row', 'extra' => '[name-your-donation gateway="authnet"]' ), | |
'authnet-mode' => array( 'label' => 'Authorize.net Test Mode', 'type' => 'checkbox', 'size' => '', 'admin' => 'checkbox', 'extra' => '' ), | |
'authnet-login' => array( 'label' => 'Authorize.net Login ID', 'type' => 'text', 'size' => '30', 'admin' => 'text', 'extra' => '' ), | |
'authnet-trans' => array( 'label' => 'Authorize.net Trans Key', 'type' => 'text', 'size' => '30', 'admin' => 'text', 'extra' => '' ), | |
); | |
public $paypal_field_options = array( | |
'paypal-label' => array( 'label' => 'PayPal Shortcode', 'type' => 'admin', 'size' => '', 'admin' => 'row', 'extra' => '[name-your-donation gateway="paypal"]' ), | |
'paypal-email' => array( 'label' => 'PayPal Account Email', 'type' => 'hidden', 'size' => '', 'admin' => 'text', 'extra' => '' ), | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment