Skip to content

Commit

Permalink
PayPal Advanced - Error when additional fees are added to the order, …
Browse files Browse the repository at this point in the history
…ref #767
  • Loading branch information
kcppdevelopers committed Nov 24, 2017
1 parent 0b01db8 commit cf29b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/wc-gateway-calculations-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class WC_Gateway_Calculation_AngellEYE {
public function __construct($payment_method = null) {
$this->is_adjust = false;
$this->payment_method = $payment_method;
if( $this->payment_method == 'paypal_pro_payflow' || $this->payment_method = 'paypal_advanced') {
if( $this->payment_method == 'paypal_pro_payflow' || $this->payment_method == 'paypal_advanced') {
$this->is_separate_discount = true;
}
$is_zdp_currency = in_array(get_woocommerce_currency(), $this->zdp_currencies);
Expand Down

0 comments on commit cf29b48

Please sign in to comment.