Skip to content

Commit 00d54b3

Browse files
authored
Updated server gateway test to check protocol 4.00 fields
1 parent 9f426ac commit 00d54b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/ServerGatewayTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,14 @@ public function testCompleteAuthorizeSuccess()
120120
'DeclineCode' => '00',
121121
'ExpiryDate' => '0722',
122122
'BankAuthCode' => '999777',
123+
// New fields for protocol v4.0
124+
'ACSTransID' => 'abcuuid',
125+
'DSTransID' => '123uuid',
126+
'SchemeTraceID' => 'V123',
123127
'VPSSignature' => md5(
124128
'{F955C22E-F67B-4DA3-8EA3-6DAC68FA59D2}'
125129
. '438791' . 'OK' . 'bexamplecJEUPDN1N7Edefghijklm' . '00' . '0722' . '999777'
130+
. 'abcuuid' . '123uuid' . 'V123'
126131
),
127132
)
128133
);

0 commit comments

Comments
 (0)