From a9b50c7cc5e99276317c534222d010b720491b71 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 28 Jun 2019 17:17:51 +0100 Subject: [PATCH] Stop contact being overwritten with paypal account name This saves it into the name field of the billing address (which just exists in the DB not the GUI) --- CRM/Core/Payment/PayPalImpl.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index a273bbcad7..0e0ae6b311 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -326,9 +326,9 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { 'token' => 'token', 'payer_status' => 'payerstatus', 'payer_id' => 'payerid', - 'first_name' => 'firstname', - 'middle_name' => 'middlename', - 'last_name' => 'lastname', + 'billing_first_name' => 'firstname', + 'billing_middle_name' => 'middlename', + 'billing_last_name' => 'lastname', 'street_address' => 'shiptostreet', 'supplemental_address_1' => 'shiptostreet2', 'city' => 'shiptocity', -- 2.25.1