Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 1 addition & 72 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,78 +74,7 @@ Refer to the [examples](https://github.com/bluem-development/bluem-php/tree/mast
Please contact us if you have any questions regarding the examples or the implementation of the library in your project.

## Notes per version

### Version 3.0
- PHP 8.3 minimum version requirement

### Version 2.4
- Added Bancontact support

### Version 2.3.2.4 (latest)
- Added bank 'N26' to ePayments BIC list.
- Restructured code for Magento compatibility.

### Version 2.3.2.3
Updated certificates.

### Version 2.3.2.2
Updated BIC epayments list.

### Version 2.3.2
Added BIC to mandate request.

### Version 2.3.1
Added BIC to identity request.

### Version 2.3
Added PHP 8+ support.

### Version 2.2
Webhooks and new payment methods
- Added explicit webhook functionality and relevant documentation
- Support for PayPal, Creditcards, SOFORT and Carte Bancaire

### Version 2.1
Major improvement in code style.
- Added `$bluem->getConfig($key)` method to retrieve a configuration value.
- Added `$bluem->setConfig($key, $value)` method to set a configuration value.
- Added several validation steps
- Added more unit testing coverage
- Separated more responsibilities for cleaner code

### Versions before 2.1

#### Version 2.0.12
Allowing the verification if the current IP is based in the Netherlands utilizing a geolocation integration *(IP-API).

```php
$bluem->VerifyIPIsNetherlands();
// returns bool true if NL or error, returns false if no error and other country.
```
*This feature can be used to determine whether to use iDIN identity checking in any application, as this supports only Dutch banks.*

#### Version 2.0.2:

Triodos Bank, BIC TRIONL2U no longer supported for Identity requests as of 1 june 2021. See: https://www.triodos.nl/veelgestelde-vragen/kan-ik-idin-gebruiken?id=4de127e85eee

- If you use the [Preselection of banks using the DebtorWallet](https://github.com/bluem-development/bluem-php#debtorwallet-preselecting-a-bank-for-mandate-payment-or-identity-request), you will have to update this library to ensure Triodos is no longer an option for iDIN. If you do not do this, customers that select Triodos will be presented with an error.

- If you use the Bluem portal, you don't need to act. This change is already applied within the Bluem portal.

#### Version 2.0.1:
Major release with more stability, validation and features.

Please note: The main Integration class is called Bluem, so to include it, use:
```php
$bluem = new Bluem($config);
```
Or use a class alias to ensure code functioning. This is a refactor since version 1.x.

Furthermore, all generally available functions are still available.

---

No earlier changelog was recorded. Please refer to the [commit log](https://github.com/bluem-development/bluem-php/commits/master) for more information.
See [Changelog](changelog.md)

## Testing
For improving future features, unit testing is introduced since november 2021.
Expand Down
75 changes: 75 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Changes per release

## Major version 2
### 2.5:
- Migrated away from deprecated XML signature validation package
- Set minimum PHP to 8.3

### 2.4:
- Added Bancontact support

### 2.3.2.4
- Added bank 'N26' to ePayments BIC list.
- Restructured code for Magento compatibility.

### 2.3.2.3
Updated certificates.

### 2.3.2.2
Updated BIC epayments list.

### 2.3.2
Added BIC to mandate request.

### 2.3.1
Added BIC to identity request.

### 2.3
Added PHP 8+ support.

### 2.2
Webhooks and new payment methods
- Added explicit webhook functionality and relevant documentation
- Support for PayPal, Creditcards, SOFORT and Carte Bancaire

### 2.1
Major improvement in code style.
- Added `$bluem->getConfig($key)` method to retrieve a configuration value.
- Added `$bluem->setConfig($key, $value)` method to set a configuration value.
- Added several validation steps
- Added more unit testing coverage
- Separated more responsibilities for cleaner code

###s before 2.1

#### 2.0.12
Allowing the verification if the current IP is based in the Netherlands utilizing a geolocation integration *(IP-API).

```php
$bluem->VerifyIPIsNetherlands();
// returns bool true if NL or error, returns false if no error and other country.
```
*This feature can be used to determine whether to use iDIN identity checking in any application, as this supports only Dutch banks.*

#### 2.0.2:

Triodos Bank, BIC TRIONL2U no longer supported for Identity requests as of 1 june 2021. See: https://www.triodos.nl/veelgestelde-vragen/kan-ik-idin-gebruiken?id=4de127e85eee

- If you use the [Preselection of banks using the DebtorWallet](https://github.com/bluem-development/bluem-php#debtorwallet-preselecting-a-bank-for-mandate-payment-or-identity-request), you will have to update this library to ensure Triodos is no longer an option for iDIN. If you do not do this, customers that select Triodos will be presented with an error.

- If you use the Bluem portal, you don't need to act. This change is already applied within the Bluem portal.

#### 2.0.1:
Major release with more stability, validation and features.

Please note: The main Integration class is called Bluem, so to include it, use:
```php
$bluem = new Bluem($config);
```
Or use a class alias to ensure code functioning. This is a refactor since version 1.x.

Furthermore, all generally available functions are still available.

---

No earlier changelog was recorded. Please refer to the [commit log](https://github.com/bluem-development/bluem-php/commits/master) for more information.
30 changes: 20 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,25 @@
"name": "bluem-development/bluem-php",
"type": "package",
"description": "Bluem PHP interface",
"keywords": ["bluem", "php", "interface", "wrapper", "emandate", "epayment", "idin"],
"keywords": [
"bluem",
"php",
"interface",
"wrapper",
"emandate",
"epayment",
"idin"
],
"homepage": "https://bluem-development.github.io/bluem-php/",
"license": "GPL-3.0-or-later",
"authors": [{
"name": "Bluem Plugin Support",
"email": "pluginsupport@bluem.nl",
"homepage": "https://bluem.nl/",
"role": "Developer"
}],
"authors": [
{
"name": "Bluem Plugin Support",
"email": "pluginsupport@bluem.nl",
"homepage": "https://bluem.nl/",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/bluem-development/bluem-php"
},
Expand All @@ -27,7 +37,7 @@
"ext-curl": "*",
"ext-json": "*",
"ext-openssl": "*",
"selective/xmldsig": "^3.2"
"robrichards/xmlseclibs": "^3.1"
},
"autoload": {
"psr-4": {
Expand All @@ -43,7 +53,7 @@
"squizlabs/php_codesniffer": "^3.7",
"phpcompatibility/php-compatibility": "^9.3"
},
"prefer-stable" : true,
"prefer-stable": true,
"scripts": {
"post-install-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
Expand All @@ -52,4 +62,4 @@
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/,../../phpcompatibility/php-compatibility)"
]
}
}
}
Loading
Loading