Skip to content

Commit

Permalink
fixed creation request payload
Browse files Browse the repository at this point in the history
  • Loading branch information
kamerk22 authored Dec 10, 2018
1 parent 1d2a462 commit 3490bc5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/AWS/AWS.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@ public function getGiftCardPayload($amount, $creationId = null): string
{
$amount = trim($amount);
$payload = [
// "creationRequestId" => $this->_config->getPartner() . "_" . time(),
'creationRequestId' => 'F0000',
"creationRequestId" => $this->_config->getPartner() . "_" . time(),
'partnerId' => $this->_config->getPartner(),
'value' =>
[
Expand Down Expand Up @@ -343,4 +342,4 @@ public function buildCanonicalHeaders($serviceOperation): string
return
"$ACCEPT_HEADER:$contentType\n$HOST_HEADER:$endpoint\n$X_AMZ_DATE_HEADER:$dateTimeString\n$X_AMZ_TARGET_HEADER:com.amazonaws.agcod.AGCODService.$serviceOperation";
}
}
}

0 comments on commit 3490bc5

Please sign in to comment.