Skip to content

Commit

Permalink
20201119 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
securesubmit-buildmaster committed Nov 19, 2020
1 parent 3cdeb3b commit 5cf1b51
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 30 deletions.
16 changes: 12 additions & 4 deletions src/Builders/Secure3dBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -857,12 +857,16 @@ public function withCustomerEmail($value)
}

/**
* @param DecoupledFlowRequest
* @param bool
* @return Secure3dBuilder
*/
public function withDecoupledFlowRequest($decoupledFlowRequest)
{
$this->decoupledFlowRequest = $decoupledFlowRequest;
if ($decoupledFlowRequest == true) {
$this->decoupledFlowRequest = "TRUE";
} else {
$this->decoupledFlowRequest = "FALSE";
}
return $this;
}

Expand Down Expand Up @@ -1257,12 +1261,16 @@ public function withTransactionType($transactionType)
}

/**
* @param WhiteListStatus
* @param bool
* @return Secure3dBuilder
*/
public function withWhitelistStatus($whitelistStatus)
{
$this->whitelistStatus = $whitelistStatus;
if ($whitelistStatus == true) {
$this->whitelistStatus = "TRUE";
} else {
$this->whitelistStatus = "FALSE";
}
return $this;
}

Expand Down
13 changes: 0 additions & 13 deletions src/Entities/Enums/DecoupledFlowRequest.php

This file was deleted.

11 changes: 0 additions & 11 deletions src/Entities/Enums/WhiteListStatus.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ public function testFullCycle_v2_2()
->withMethodUrlCompletion(MethodUrlCompletion::NO)
->withChallengeRequestIndicator(ChallengeRequestIndicator::NO_PREFERENCE)
->withMerchantInitiatedRequestType(MerchantInitiatedRequestType::TOP_UP)
// ->withWhitelistStatus(WhiteListStatus::NOT_WHITELISTED)
// ->withDecoupledFlowRequest(DecoupledFlowRequest::DO_NOT_USE_DECOUPLED)
->withWhitelistStatus(true)
->withDecoupledFlowRequest(false)
->withDecoupledFlowTimeout('9001')
->withDecoupledNotificationUrl('https://example-value.com')
->execute();
Expand Down

0 comments on commit 5cf1b51

Please sign in to comment.