catalog/includes/apps/braintree/lib/Braintree/Customer.php 1 location
|
@@ 260-264 (lines=5) @@
|
257 |
|
$this->_set('coinbaseAccounts', $coinbaseAccountArray); |
258 |
|
|
259 |
|
$paypalAccountArray = []; |
260 |
|
if (isset($customerAttribs['paypalAccounts'])) { |
261 |
|
foreach ($customerAttribs['paypalAccounts'] AS $paypalAccount) { |
262 |
|
$paypalAccountArray[] = PayPalAccount::factory($paypalAccount); |
263 |
|
} |
264 |
|
} |
265 |
|
$this->_set('paypalAccounts', $paypalAccountArray); |
266 |
|
|
267 |
|
$applePayCardArray = []; |
catalog/includes/apps/braintree/lib/Braintree/CustomerGateway.php 1 location
|
@@ 446-450 (lines=5) @@
|
443 |
|
|
444 |
|
// map each paypalAccount into its own object |
445 |
|
$paypalAccountArray = []; |
446 |
|
if (isset($customerAttribs['paypalAccounts'])) { |
447 |
|
foreach ($customerAttribs['paypalAccounts'] AS $paypalAccount) { |
448 |
|
$paypalAccountArray[] = PayPalAccount::factory($paypalAccount); |
449 |
|
} |
450 |
|
} |
451 |
|
$this->_set('paypalAccounts', $paypalAccountArray); |
452 |
|
|
453 |
|
// map each applePayCard into its own object |