Skip to content

Commit a4a0f27

Browse files
committed
1.9.1
1 parent cec828d commit a4a0f27

File tree

10 files changed

+21
-64
lines changed

10 files changed

+21
-64
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Description of changes 2
33
* Description of changes 3, etc
44

5-
Fixes eMerchantPay/genesis_php#number
5+
Fixes eMerchantPay/genesis_client_integrations#number
66

77
-----------------
88

CHANGELOG

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
1.9.1
2+
-----
3+
* Added Paysafecard supported countries
4+
- AR
5+
- AE
6+
- KW
7+
* Update TrustPay supported countries
8+
- CZ
9+
- SK
10+
* Remove Teleingreso payment type
11+
112
1.9.0
213
-----
314
* Added Support for new Gift Cards Transaction Types

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.0
1+
1.9.1

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "genesisgateway/genesis_php",
33
"description": "PHP Client for Genesis Payment Processing Gateway",
4-
"version": "1.9.0",
4+
"version": "1.9.1",
55
"license": "MIT",
66
"keywords": [
77
"genesis",
@@ -44,7 +44,6 @@
4444
"przelewy24",
4545
"qiwi",
4646
"safetypay",
47-
"teleingreso",
4847
"trustpay",
4948
"bcmc",
5049
"mybank",

spec/Genesis/API/Request/Financial/Alternatives/PPROSpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected function setRequestParameters()
118118
$this->setBillingZipCode($faker->postcode);
119119
$this->setBillingCity($faker->city);
120120
$this->setBillingState($faker->state);
121-
$this->setBillingCountry('EE');
121+
$this->setBillingCountry('CZ');
122122
}
123123

124124
public function getMatchers()

src/Genesis/API/Constants/Payment/Methods.php

-7
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@ class Methods
7373
*/
7474
const SAFETY_PAY = 'safetypay';
7575

76-
/**
77-
* Teleingreso
78-
*
79-
* PPRO transaction
80-
*/
81-
const TELEINGRESO = 'teleingreso';
82-
8376
/**
8477
* TrustPay
8578
*

src/Genesis/API/Constants/Transaction/Types.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class Types
149149
const PAYSAFECARD = 'paysafecard';
150150

151151
/**
152-
* Supports payments via EPS, TeleIngreso, SafetyPay, TrustPay, ELV, Przelewy24, QIWI, and GiroPay
152+
* Supports payments via EPS, SafetyPay, TrustPay, ELV, Przelewy24, QIWI, and GiroPay
153153
*/
154154
const PPRO = 'ppro';
155155

src/Genesis/API/Request/Financial/Alternatives/PPRO.php

+1-47
Original file line numberDiff line numberDiff line change
@@ -184,66 +184,20 @@ protected function setRequiredFieldValuesConditional()
184184
'currency' => 'EUR'
185185
]
186186
],
187-
PaymentMethods::TELEINGRESO => [
188-
[
189-
'billing_country' => 'ES',
190-
'currency' => 'EUR'
191-
]
192-
],
193187
PaymentMethods::SAFETY_PAY => [
194188
[
195189
'billing_country' => ['AT', 'DE', 'CA', 'MX', 'NI', 'CR', 'PA', 'CO', 'PE', 'BR', 'NL'],
196190
'currency' => ['EUR', 'USD']
197191
]
198192
],
199193
PaymentMethods::TRUST_PAY => [
200-
[
201-
'billing_country' => 'BA',
202-
'currency' => 'BAM'
203-
],
204-
[
205-
'billing_country' => 'BG',
206-
'currency' => 'BGN'
207-
],
208194
[
209195
'billing_country' => 'CZ',
210196
'currency' => 'CZK'
211197
],
212198
[
213-
'billing_country' => 'EE',
214-
'currency' => 'EEK'
215-
],
216-
[
217-
'billing_country' => ['EE', 'SL', 'SK'],
199+
'billing_country' => ['CZ', 'SK'],
218200
'currency' => 'EUR'
219-
],
220-
[
221-
'billing_country' => 'GB',
222-
'currency' => 'GBP'
223-
],
224-
[
225-
'billing_country' => 'HR',
226-
'currency' => 'HRK'
227-
],
228-
[
229-
'billing_country' => 'HU',
230-
'currency' => 'HUF'
231-
],
232-
[
233-
'billing_country' => 'LT',
234-
'currency' => 'LTL'
235-
],
236-
[
237-
'billing_country' => 'LV',
238-
'currency' => 'LVL'
239-
],
240-
[
241-
'billing_country' => 'PL',
242-
'currency' => 'PLN'
243-
],
244-
[
245-
'billing_country' => 'RO',
246-
'currency' => 'RON'
247201
]
248202
],
249203
PaymentMethods::PRZELEWY24 => [

src/Genesis/API/Request/Financial/Alternatives/Paysafecard.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ protected function setRequiredFields()
5252

5353
$requiredFieldValues = [
5454
'billing_country' => [
55-
'AT', 'BE', 'CY', 'CZ', 'DK', 'FI', 'FR', 'DE', 'GR', 'IE',
56-
'IT', 'LU', 'NL', 'NO', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES',
57-
'SE', 'CH', 'UK', 'HU', 'HR', 'MT', 'US', 'CA', 'MX', 'TR'
55+
'AE', 'AR', 'AT', 'BE', 'CY', 'CZ', 'DK', 'FI', 'FR', 'DE', 'GR',
56+
'IE', 'IT', 'KW', 'LU', 'NL', 'NO', 'PL', 'PT', 'RO', 'SK', 'SI',
57+
'ES', 'SE', 'CH', 'UK', 'HU', 'HR', 'MT', 'US', 'CA', 'MX', 'TR'
5858
],
5959
'currency' => \Genesis\Utils\Currency::getList()
6060
];

src/Genesis/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class Config
4242
/**
4343
* Library Version
4444
*/
45-
const VERSION = '1.9.0';
45+
const VERSION = '1.9.1';
4646

4747
/**
4848
* Core configuration settings

0 commit comments

Comments
 (0)