Skip to content

Commit 8e762ec

Browse files
committed
Add support for Omnipay V3. Major refactoring
1 parent 3dbf632 commit 8e762ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+6448
-1479
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/vendor/
21
.idea
3-
testbed
2+
vendor
3+
coverage

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: php
2+
3+
php:
4+
- 7.1
5+
- 7.2
6+
7+
env:
8+
global:
9+
- setup=basic
10+
11+
12+
sudo: false
13+
14+
before_install:
15+
- travis_retry composer self-update
16+
17+
install:
18+
- travis_retry composer install --no-interaction --prefer-dist
19+
20+
script:
21+
- mkdir -p build/logs
22+
- vendor/bin/phpcs --standard=PSR2 src
23+
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
24+
25+
after_success:
26+
- travis_retry php vendor/bin/php-coveralls -v

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Omnipay: FirstData Latvia
22

3+
[![Build Status](https://travis-ci.org/arbory/omnipay-first-data-latvia.svg?branch=master)](https://travis-ci.org/arbory/omnipay-first-data-latvia)
4+
[![Coverage Status](https://coveralls.io/repos/github/arbory/omnipay-first-data-latvia/badge.svg?branch=master)](https://coveralls.io/github/arbory/omnipay-first-data-latvia?branch=master)
5+
36
FirstData payeezy Gateway for Omnipay payment processing library.
47
This gateway is different from global payeezy gateway and is mainly used only in Latvia.
58
It has completely different api and processing flow.
6-
7-
TODO:
8-
- [ ] Add validation
9-
- [ ] Add tests
10-
- [ ] Submit repo to Omnipay (third party gateways)

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212
"psr-4": { "Omnipay\\FirstDataLatvia\\" : "src/" }
1313
},
1414
"require": {
15-
"omnipay/common": "~2.0"
15+
"omnipay/common": "~3.0"
1616
},
1717
"require-dev": {
18-
"omnipay/tests": "~2.0"
18+
"omnipay/tests": "~3.0",
19+
"squizlabs/php_codesniffer": "^3",
20+
"phpro/grumphp": "^0.14",
21+
"php-coveralls/php-coveralls": "^2.1"
1922
}
2023
}

0 commit comments

Comments
 (0)