Skip to content
This repository was archived by the owner on Jan 10, 2022. It is now read-only.

Commit 9ee16ea

Browse files
committed
Merge branch 'release/2.1.0'
2 parents c905762 + a9adbec commit 9ee16ea

18 files changed

Lines changed: 39 additions & 24 deletions

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
77
## [Unreleased][unreleased]
88
-
99

10+
## [2.1.0] - 2020-03-19
11+
- Extend `Extension` class from `AbstractPluginIntegration`.
12+
1013
## [2.0.4] - 2019-12-22
1114
- Improved error handling with exceptions.
1215
- Updated payment status class name.
@@ -47,7 +50,8 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
4750
### Added
4851
- First release.
4952

50-
[unreleased]: https://github.com/wp-pay-extensions/wp-e-commerce/compare/2.0.4...HEAD
53+
[unreleased]: https://github.com/wp-pay-extensions/wp-e-commerce/compare/2.1.0...HEAD
54+
[2.1.0]: https://github.com/wp-pay-extensions/wp-e-commerce/compare/2.0.4...2.1.0
5155
[2.0.4]: https://github.com/wp-pay-extensions/wp-e-commerce/compare/2.0.2...2.0.4
5256
[2.0.3]: https://github.com/wp-pay-extensions/wp-e-commerce/compare/2.0.2...2.0.3
5357
[2.0.2]: https://github.com/wp-pay-extensions/wp-e-commerce/compare/2.0.1...2.0.2

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"require": {
3535
"php": ">=5.6.20",
36-
"wp-pay/core": "^2.2"
36+
"wp-pay/core": "^2.3"
3737
},
3838
"repositories": [
3939
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wp-e-commerce",
3-
"version": "2.0.4",
3+
"version": "2.1.0",
44
"description": "WP eCommerce driver for the WordPress payment processing library.",
55
"repository": {
66
"type": "git",

src/Extension.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Extension.
44
*
55
* @author Pronamic <info@pronamic.eu>
6-
* @copyright 2005-2019 Pronamic
6+
* @copyright 2005-2020 Pronamic
77
* @license GPL-3.0-or-later
88
* @package Pronamic\WordPress\Pay\Extensions\WPeCommerce
99
*/
@@ -18,14 +18,14 @@
1818
/**
1919
* Title: WP eCommerce extension
2020
* Description:
21-
* Copyright: 2005-2019 Pronamic
21+
* Copyright: 2005-2020 Pronamic
2222
* Company: Pronamic
2323
*
2424
* @author Remco Tolsma
2525
* @version 2.0.4
2626
* @since 1.0.0
2727
*/
28-
class Extension {
28+
class Extension extends \Pronamic\WordPress\Pay\AbstractPluginIntegration {
2929
/**
3030
* Slug
3131
*
@@ -40,6 +40,17 @@ class Extension {
4040
*/
4141
const OPTION_PRONAMIC_PAYMENT_METHOD = 'pronamic_pay_pronamic_wpsc_payment_method';
4242

43+
/**
44+
* Construct WP eCommerce extension.
45+
*
46+
* @param array $args Arguments.
47+
*/
48+
public function __construct( $args = array() ) {
49+
parent::__construct( $args );
50+
51+
self::bootstrap();
52+
}
53+
4354
/**
4455
* Bootstrap
4556
*/

src/Gateways/AfterPayGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* AfterPay Gateway.
44
*
55
* @author Pronamic <info@pronamic.eu>
6-
* @copyright 2005-2019 Pronamic
6+
* @copyright 2005-2020 Pronamic
77
* @license GPL-3.0-or-later
88
* @package Pronamic\WordPress\Pay\Extensions\WPeCommerce
99
*/

src/Gateways/BancontactGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Bancontact Gateway.
44
*
55
* @author Pronamic <info@pronamic.eu>
6-
* @copyright 2005-2019 Pronamic
6+
* @copyright 2005-2020 Pronamic
77
* @license GPL-3.0-or-later
88
* @package Pronamic\WordPress\Pay\Extensions\WPeCommerce
99
*/

src/Gateways/BankTransferGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Bank Transfer Gateway.
44
*
55
* @author Pronamic <info@pronamic.eu>
6-
* @copyright 2005-2019 Pronamic
6+
* @copyright 2005-2020 Pronamic
77
* @license GPL-3.0-or-later
88
* @package Pronamic\WordPress\Pay\Extensions\WPeCommerce
99
*/

src/Gateways/CreditCardGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Credit Card Gateway.
44
*
55
* @author Pronamic <info@pronamic.eu>
6-
* @copyright 2005-2019 Pronamic
6+
* @copyright 2005-2020 Pronamic
77
* @license GPL-3.0-or-later
88
* @package Pronamic\WordPress\Pay\Extensions\WPeCommerce
99
*/

src/Gateways/FocumGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Focum Gateway.
44
*
55
* @author Pronamic <info@pronamic.eu>
6-
* @copyright 2005-2019 Pronamic
6+
* @copyright 2005-2020 Pronamic
77
* @license GPL-3.0-or-later
88
* @package Pronamic\WordPress\Pay\Extensions\WPeCommerce
99
*/

src/Gateways/Gateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Gateway.
44
*
55
* @author Pronamic <info@pronamic.eu>
6-
* @copyright 2005-2019 Pronamic
6+
* @copyright 2005-2020 Pronamic
77
* @license GPL-3.0-or-later
88
* @package Pronamic\WordPress\Pay\Extensions\WPeCommerce
99
*/
@@ -22,7 +22,7 @@
2222
/**
2323
* Title: WP e-Commerce Pronamic gateway
2424
* Description:
25-
* Copyright: 2005-2019 Pronamic
25+
* Copyright: 2005-2020 Pronamic
2626
* Company: Pronamic
2727
*
2828
* @author Remco Tolsma

0 commit comments

Comments
 (0)