Skip to content

Commit

Permalink
Updated server gateway test to check protocol 4.00 fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferrisbane committed Mar 25, 2024
1 parent 9f426ac commit 00d54b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ServerGatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,14 @@ public function testCompleteAuthorizeSuccess()
'DeclineCode' => '00',
'ExpiryDate' => '0722',
'BankAuthCode' => '999777',
// New fields for protocol v4.0
'ACSTransID' => 'abcuuid',
'DSTransID' => '123uuid',
'SchemeTraceID' => 'V123',
'VPSSignature' => md5(
'{F955C22E-F67B-4DA3-8EA3-6DAC68FA59D2}'
. '438791' . 'OK' . 'bexamplecJEUPDN1N7Edefghijklm' . '00' . '0722' . '999777'
. 'abcuuid' . '123uuid' . 'V123'
),
)
);
Expand Down

0 comments on commit 00d54b3

Please sign in to comment.