Skip to content

Commit

Permalink
add card name, ref #1020
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Apr 20, 2018
1 parent e44bc42 commit a7eee6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/wc-gateway-braintree-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,9 @@ public function angelleye_do_payment($order) {
}
} else {
$request_data['paymentMethodNonce'] = $payment_method_nonce;
$request_data['creditCard'] = array(
'cardholderName' => $billing_first_name . ' ' . $billing_last_name
);
}
if (is_user_logged_in()) {
$customer_id = get_current_user_id();
Expand Down

0 comments on commit a7eee6a

Please sign in to comment.