Skip to content

Commit dbd4e4c

Browse files
committed
PayPal returning payer no need the vault attribute
1 parent 92b071f commit dbd4e4c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

core/src/Order/Builder/Node/PayPalPaymentSourceNodeBuilder.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,6 @@ public function build(): array
4444
{
4545
$data = [];
4646

47-
if ($this->paypalVaultId) {
48-
$data['vault_id'] = $this->paypalVaultId;
49-
}
50-
51-
if ($this->paypalCustomerId) {
52-
$data['attributes']['customer'] = [
53-
'id' => $this->paypalCustomerId,
54-
];
55-
}
56-
5747
if ($this->savePaymentMethod) {
5848
$data['attributes']['vault'] = [
5949
'store_in_vault' => 'ON_SUCCESS',

0 commit comments

Comments
 (0)