Skip to content

Commit

Permalink
#236 : add amount and currency for AdyenVoidCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-moreel committed Feb 17, 2021
1 parent 3d791ca commit a8c5769
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adyenv6core/src/com/adyen/v6/commands/AdyenVoidCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public VoidResult perform(VoidRequest request) {
result.setRequestTime(new Date());
result.setTransactionStatus(TransactionStatus.ERROR);
result.setTransactionStatusDetails(TransactionStatusDetails.UNKNOWN_CODE);
result.setAmount(request.getTotalAmount());
result.setCurrency(request.getCurrency());

String authReference = request.getRequestId();
String reference = request.getRequestToken();
Expand Down

0 comments on commit a8c5769

Please sign in to comment.