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.
1 parent 1bca730 commit a45e232Copy full SHA for a45e232
src/Message/EMV3DSOrderRequest.php
@@ -30,11 +30,13 @@ public function getData()
30
31
public function sendData($data)
32
{
33
+ $authorizationHeader = base64_encode("{$this->getMerchantId()}:{$this->getTransactionPassword()}");
34
+
35
$params = [
36
'headers' => [
37
'Accept' => '*/*',
38
'Content-Type' => 'application/json; charset=UTF-8',
- 'Authorization' => 'Basic '.base64_encode("{$this->getMerchantId()}:{$this->getTransactionPassword()}"),
39
+ 'Authorization' => "Basic {$authorizationHeader}"
40
],
41
'body' => json_encode($data),
42
];
0 commit comments