Skip to content

Commit

Permalink
Merge pull request #630 from csob/bugfix-signature-paymentstatus
Browse files Browse the repository at this point in the history
added paymentStatus to PaymentStatusResponse signature
  • Loading branch information
dmarek authored Jun 20, 2022
2 parents f4a9411 + 93b0b86 commit 3f68e96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public override string ToSign()
Add(sb, Dttm);
Add(sb, ResultCode);
Add(sb, ResultMessage);
Add(sb, PaymentStatus);
Add(sb, AuthCode);
Add(sb, StatusDetail);
Add(sb, Actions?.ToSign());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public String toSign() {
add(sb, getDttm());
add(sb, getResultCode());
add(sb, getResultMessage());
add(sb, paymentStatus);
add(sb, getAuthCode());
add(sb, getStatusDetail());
if (null != getActions()) for (Action a : getActions()) add(sb, a.toSign());
Expand Down
2 changes: 2 additions & 0 deletions examples/eApi v1.9/php/src/apiservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,8 @@ function toSign(): string
$sb = ApiUtilsAdd($sb, $this->resultCode);
if (isset($this->resultMessage))
$sb = ApiUtilsAdd($sb, $this->resultMessage);
if (isset($this->paymentStatus))
$sb = ApiUtilsAdd($sb, $this->paymentStatus);
if (isset($this->authCode))
$sb = ApiUtilsAdd($sb, $this->authCode);
if (isset($this->statusDetail))
Expand Down

0 comments on commit 3f68e96

Please sign in to comment.