Skip to content

Commit

Permalink
Auth & Capture Adjustments Necessary, ref #730
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed May 24, 2017
1 parent e0c4aab commit ab37d16
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions template/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=payflow" class="nav-tab <?php echo $gateway == 'payflow' ? 'nav-tab-active' : ''; ?>"><?php echo __('PayPal Payments Pro (PayFlow)', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=dodirectpayment" class="nav-tab <?php echo $gateway == 'dodirectpayment' ? 'nav-tab-active' : ''; ?>"><?php echo __('PayPal Website Payments Pro (DoDirectPayment)', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=paypal_plus" class="nav-tab <?php echo $gateway == 'paypal_plus' ? 'nav-tab-active' : ''; ?>"><?php echo __('PayPal Plus', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=wc_gateway_braintree_angelleye" class="nav-tab <?php echo $gateway == 'wc_gateway_braintree_angelleye' ? 'nav-tab-active' : ''; ?>"><?php echo __('Braintree', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=wc_gateway_paypal_advanced_angelleye" class="nav-tab <?php echo $gateway == 'wc_gateway_paypal_advanced_angelleye' ? 'nav-tab-active' : ''; ?>"><?php echo __('PayPal Advanced', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=braintree" class="nav-tab <?php echo $gateway == 'braintree' ? 'nav-tab-active' : ''; ?>"><?php echo __('Braintree', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=paypal_advanced" class="nav-tab <?php echo $gateway == 'paypal_advanced' ? 'nav-tab-active' : ''; ?>"><?php echo __('PayPal Advanced', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=paypal_credit_card_rest" class="nav-tab <?php echo $gateway == 'paypal_credit_card_rest' ? 'nav-tab-active' : ''; ?>"><?php echo __('PayPal Credit Card (REST)', 'paypal-for-woocommerce'); ?></a>
<a href="?page=<?php echo $this->plugin_slug; ?>&tab=general_settings&gateway=global" class="nav-tab <?php echo $gateway == 'global' ? 'nav-tab-active' : ''; ?>"><?php echo __('Global', 'paypal-for-woocommerce'); ?></a>
</h2>
Expand All @@ -33,21 +33,21 @@
?>
<div class="wrap">
<p><?php _e('PayPal Express Checkout is a more advanced version of the standard PayPal payment option that is included with WooCommerce. It has more features included with it and allows us to more tightly integrate PayPal into WooCommerce. It is the recommended method of enabling PayPal payments in WooCommerce.', 'paypal-for-woocommerce'); ?></p>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=wc_gateway_paypal_express_angelleye'); ?>"><?php _e('Express Checkout Setting', 'paypal-for-woocommerce'); ?></a>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=paypal_express'); ?>"><?php _e('Express Checkout Setting', 'paypal-for-woocommerce'); ?></a>
</div>
<?php
} elseif ($gateway == 'payflow') {
?>
<div class="wrap">
<p><?php _e('PayPal Payments Pro 2.0 is the latest release of PayPal’s Pro offering. It works on PayPal’s PayFlow Gateway as opposed to their original DoDirectPayment API. You need to be sure that your account is setup for this version of Pro before configuring this payment gateway or you will end up with errors when people attempt to pay you via credit card.', 'paypal-for-woocommerce'); ?></p>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=wc_gateway_paypal_pro_payflow_angelleye'); ?>"><?php _e('PayPal Payments Pro (PayFlow) Setting', 'paypal-for-woocommerce'); ?></a>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=paypal_pro_payflow'); ?>"><?php _e('PayPal Payments Pro (PayFlow) Setting', 'paypal-for-woocommerce'); ?></a>
</div>
<?php
} elseif ($gateway == 'dodirectpayment') {
?>
<div class="wrap">
<p><?php _e('PayPal’s Website Payments Pro 3.0 is the original Pro package that PayPal offered. It works on the DoDirectPayment API and is being slowly deprecated since the launch of Payments Pro 2.0 that works on the PayFlow API. You need to be sure that your account is setup for this version of Pro before configuring this payment gateway or you will end up with errors when people attempt to pay you via credit card.', 'paypal-for-woocommerce'); ?></p>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=wc_gateway_paypal_pro_angelleye'); ?>"><?php _e('PayPal Website Payments Pro (DoDirectPayment) Setting', 'paypal-for-woocommerce'); ?></a>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=paypal_pro'); ?>"><?php _e('PayPal Website Payments Pro (DoDirectPayment) Setting', 'paypal-for-woocommerce'); ?></a>
</div>
<?php
} elseif ($gateway == 'paypal_plus') {
Expand All @@ -59,25 +59,25 @@
<p><a target="_blank" href="https://www.angelleye.com/product/woocommerce-paypal-plus-plugin">Get the PayPal Plus Plugin!</a></p>
</div>
<?php
} elseif ($gateway == 'wc_gateway_braintree_angelleye') {
} elseif ($gateway == 'braintree') {
?>
<div class="wrap">
<p><?php _e('Credit Card payments Powered by PayPal / Braintree.', 'paypal-for-woocommerce'); ?></p>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=wc_gateway_braintree_angelleye'); ?>"><?php _e('Braintree Setting', 'paypal-for-woocommerce'); ?></a>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=braintree'); ?>"><?php _e('Braintree Setting', 'paypal-for-woocommerce'); ?></a>
</div>
<?php
} elseif ($gateway == 'wc_gateway_paypal_advanced_angelleye') {
} elseif ($gateway == 'paypal_advanced') {
?>
<div class="wrap">
<p><?php _e('PayPal Payments Advanced uses an iframe to seamlessly integrate PayPal hosted pages into the checkout process.', 'paypal-for-woocommerce'); ?></p>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=wc_gateway_paypal_advanced_angelleye'); ?>"><?php _e('PayPal Advanced Setting', 'paypal-for-woocommerce'); ?></a>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=paypal_advanced'); ?>"><?php _e('PayPal Advanced Setting', 'paypal-for-woocommerce'); ?></a>
</div>
<?php
} elseif ($gateway == 'paypal_credit_card_rest') {
?>
<div class="wrap">
<p><?php _e('PayPal direct credit card payments using the REST API. This allows you to accept credit cards directly on the site without the need for the full Payments Pro.', 'paypal-for-woocommerce'); ?></p>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=wc_gateway_paypal_credit_card_rest_angelleye'); ?>"><?php _e('PayPal Credit Card (REST) Setting', 'paypal-for-woocommerce'); ?></a>
<a href="<?php echo admin_url('admin.php?page=wc-settings&tab=checkout&section=paypal_credit_card_rest'); ?>"><?php _e('PayPal Credit Card (REST) Setting', 'paypal-for-woocommerce'); ?></a>
</div>
<?php
} elseif ($gateway == 'global') {
Expand Down

0 comments on commit ab37d16

Please sign in to comment.