We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88d9084 + c0b6856 commit 4ba4b7eCopy full SHA for 4ba4b7e
core/src/Order/Builder/OrderPayloadBuilder.php
@@ -177,7 +177,7 @@ private function buildOptionalPayload(bool $isFullPayload): array
177
178
if ($this->isCard) {
179
$optionalPayload[] = $this->buildCardPaymentSource();
180
- $optionalPayload[] = $this->buildSupplementaryData();
+ $this->payload['purchase_units'][0] = array_merge($this->payload['purchase_units'][0], $this->buildSupplementaryData());
181
}
182
183
if ($isFullPayload) {
0 commit comments