Releases: Fruitware/VictoriaBankGateway
Releases · Fruitware/VictoriaBankGateway
Ongoing release
Ongoing release to update Packagist.
Includes:
- README.md updates;
- project configuration file updated;
- Fixed exception messages strings to properly identify source (addressed in #12);
- Updated interface RequestInterface to match abstract class Request implementation;
- Allow setting payment gateway url;
- VictoriaBank test payment gateway has incomplete SSL certificate chain and breaks onboarding tests #14;
- Introduced an additional setting similar to
Request->_debugMode
:Request->_sslVerify
- minor refactoring and documenting done.
New functionality
New customers are required to complete functionality tests according to the documentation with a test payment gateway.
Current implementation has the gateway url hardcoded in the Request class. This pull request allows the caller to set a different gateway url to enable onboarding test scenarios.
$victoriaBankGateway = new VictoriaBankGateway();
$victoriaBankGateway->setGatewayUrl('https://ecomt.victoriabank.md/cgi-bin/cgi_link');
SSL issue with the bank URL
To avoid facing SSL-incomplete chain while addressing TEST-gateway (only in DEBUG/TEST modes) two new options were introduced: verify_peer
and verify_peer_name
. It works as an additional parameters on the request() function stream context options for the CompletionRequest and ReversalRequest classes:
'ssl' => [
"verify_peer" => false,
"verify_peer_name" => false,
]
Bank API update
- Exceptions text updated
- Updated interface RequestInterface to match abstract class Request implementation
- Victoriabank test payment gateway has incomplete SSL certificate chain and breaks onboarding tests #14
- Code sanitization and a touch of refactoring
Extra Response fields support
Merge pull request #5 from alexminza/master Extra Response fields support
Sample authorization response fix
Merge pull request #4 from alexminza/master Sample authorization response fix
Added private key passphrase
Merge pull request #3 from alexminza/master Private key passphrase
Fix folder namespace name
Merge pull request #2 from alexminza/master Fix folder namespace name