File tree Expand file tree Collapse file tree 4 files changed +14
-30
lines changed
test/Integration/Gateways/RealexConnector Expand file tree Collapse file tree 4 files changed +14
-30
lines changed Original file line number Diff line number Diff line change @@ -857,12 +857,16 @@ public function withCustomerEmail($value)
857
857
}
858
858
859
859
/**
860
- * @param DecoupledFlowRequest
860
+ * @param bool
861
861
* @return Secure3dBuilder
862
862
*/
863
863
public function withDecoupledFlowRequest ($ decoupledFlowRequest )
864
864
{
865
- $ this ->decoupledFlowRequest = $ decoupledFlowRequest ;
865
+ if ($ decoupledFlowRequest == true ) {
866
+ $ this ->decoupledFlowRequest = "TRUE " ;
867
+ } else {
868
+ $ this ->decoupledFlowRequest = "FALSE " ;
869
+ }
866
870
return $ this ;
867
871
}
868
872
@@ -1257,12 +1261,16 @@ public function withTransactionType($transactionType)
1257
1261
}
1258
1262
1259
1263
/**
1260
- * @param WhiteListStatus
1264
+ * @param bool
1261
1265
* @return Secure3dBuilder
1262
1266
*/
1263
1267
public function withWhitelistStatus ($ whitelistStatus )
1264
1268
{
1265
- $ this ->whitelistStatus = $ whitelistStatus ;
1269
+ if ($ whitelistStatus == true ) {
1270
+ $ this ->whitelistStatus = "TRUE " ;
1271
+ } else {
1272
+ $ this ->whitelistStatus = "FALSE " ;
1273
+ }
1266
1274
return $ this ;
1267
1275
}
1268
1276
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -207,8 +207,8 @@ public function testFullCycle_v2_2()
207
207
->withMethodUrlCompletion (MethodUrlCompletion::NO )
208
208
->withChallengeRequestIndicator (ChallengeRequestIndicator::NO_PREFERENCE )
209
209
->withMerchantInitiatedRequestType (MerchantInitiatedRequestType::TOP_UP )
210
- // ->withWhitelistStatus(WhiteListStatus::NOT_WHITELISTED )
211
- // ->withDecoupledFlowRequest(DecoupledFlowRequest::DO_NOT_USE_DECOUPLED )
210
+ ->withWhitelistStatus (true )
211
+ ->withDecoupledFlowRequest (false )
212
212
->withDecoupledFlowTimeout ('9001 ' )
213
213
->withDecoupledNotificationUrl ('https://example-value.com ' )
214
214
->execute ();
You can’t perform that action at this time.
0 commit comments