Skip to content

Commit

Permalink
Merge pull request #1294 from angelleye/PFWA-36
Browse files Browse the repository at this point in the history
Remove BN Code Overrides, PFWA-36
  • Loading branch information
Drew Angell committed Mar 18, 2019
2 parents a44d8ff + 413bdaf commit fd98676
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions paypal-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ public function __construct()
$admin_order_payment = new AngellEYE_Admin_Order_Payment_Process();
}
$plugin_admin = new AngellEYE_Utility($this->plugin_slug, VERSION_PFW);
add_filter( 'woocommerce_paypal_args', array($this,'ae_paypal_standard_additional_parameters'));
add_action( 'plugins_loaded', array($this, 'init'));
register_activation_hook( __FILE__, array($this, 'activate_paypal_for_woocommerce' ));
register_deactivation_hook( __FILE__,array($this,'deactivate_paypal_for_woocommerce' ));
Expand Down Expand Up @@ -476,16 +475,6 @@ function angelleye_add_paypal_pro_gateway( $methods ) {
return $methods;
}

/**
* Add additional parameters to the PayPal Standard checkout built into WooCommerce.
*
*/
public function ae_paypal_standard_additional_parameters($paypal_args)
{
$paypal_args['bn'] = 'AngellEYE_SP_WooCommerce';
return $paypal_args;
}

/**
* Donate function
Expand Down

0 comments on commit fd98676

Please sign in to comment.