Skip to content

Commit a115538

Browse files
committed
Set merchant ID in request headers for card initialization
1 parent 9ae23ea commit a115538

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Client.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ public function startCards($order)
183183
}
184184

185185
$this->initCurl($this->_endpoint . '/cards');
186-
// TODO: Set merchant ID?
187-
// $this->setRequestHeader(self::HEADER_SEQURA_MERCHANT_ID, '');
186+
$this->setRequestHeader(self::HEADER_SEQURA_MERCHANT_ID, $order['merchant']['id'] ?? '');
188187
$this->verbThePayload('POST', array('order' => $order));
189188
$this->dealWithResponse();
190189
curl_close($this->ch);

0 commit comments

Comments
 (0)