Skip to content

Commit

Permalink
Merge pull request #20 from angelleye/PFWMA-66
Browse files Browse the repository at this point in the history
Issue with final payment : PFWMA-66
  • Loading branch information
kcppdevelopers authored Oct 18, 2019
2 parents 16fd4cc + 69609ec commit 3a9f66a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ public function angelleye_paypal_for_woocommerce_multi_account_api_paypal_expres
return false;
}
}
if (!empty($_GET['pp_action']) && ( $_GET['pp_action'] == 'set_express_checkout' || $_GET['pp_action'] == 'do_express_checkout_payment')) {
$payment_action = array('set_express_checkout', 'get_express_checkout_details', 'do_express_checkout_payment');
if (!empty($_GET['pp_action']) && ( in_array($_GET['pp_action'], $payment_action))) {
return $this->angelleye_get_account_for_ec_parallel_payments($gateways, $gateway_setting, $order_id, $request);
}
return $request;
Expand Down

0 comments on commit 3a9f66a

Please sign in to comment.