Skip to content

Releases: Fruitware/VictoriaBankGateway

Ongoing release

26 Nov 04:31
Compare
Choose a tag to compare

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

26 Nov 04:07
d42f943
Compare
Choose a tag to compare
Bank API update Pre-release
Pre-release
  • 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

23 Nov 10:28
0b1d176
Compare
Choose a tag to compare
Merge pull request #5 from alexminza/master

Extra Response fields support

Sample authorization response fix

08 Nov 12:14
52b6204
Compare
Choose a tag to compare
Merge pull request #4 from alexminza/master

Sample authorization response fix

Added private key passphrase

07 Nov 20:53
dfc63b8
Compare
Choose a tag to compare
Merge pull request #3 from alexminza/master

Private key passphrase

Fix folder namespace name

01 Nov 21:47
9fa7101
Compare
Choose a tag to compare
Merge pull request #2 from alexminza/master

Fix folder namespace name