Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PFW-292 #1236

Merged
merged 5 commits into from Nov 3, 2018
Next

PayFlow - Card Verification - Remove option to capture/void auth, PFW…

…-292
  • Loading branch information...
kcppdevelopers committed Oct 31, 2018
commit f628d595f58f3958ae87a5980383480812bca213
@@ -292,6 +292,10 @@ public function angelleye_woocommerce_order_actions($order_actions = array()) {
if ($this->total_DoCapture > 0 || $this->total_DoVoid > 0) {
unset($paypal_payment_action['DoVoid']);
}
$payment_action_authorization = get_post_meta($order_id, 'payment_action_authorization', true);
if( !empty($payment_action_authorization) && $payment_action_authorization == 'Card Verification') {
unset($paypal_payment_action['DoVoid']);
}
return $paypal_payment_action;
}
break;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.