-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
57 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
* GitHub URI: https://github.com/pronamic/wp-pronamic-pay-mollie | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Address transformer | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie admin. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* CLI | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie card field | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2022 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie config. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie customer data store. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie customer query. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie gateway. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie install. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie integration. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Line transformer | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Line type transformer | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Lines transformer | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie transformer helper. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie transformer methods. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie profile data store. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Refund lines transformer | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Refund transformer | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Scripts controller | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2022 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Mollie | ||
*/ | ||
|
@@ -36,7 +36,7 @@ public static function instance() { | |
|
||
/** | ||
* Setup. | ||
* | ||
* | ||
* @return void | ||
*/ | ||
public function setup() { | ||
|
@@ -51,14 +51,14 @@ public function setup() { | |
|
||
/** | ||
* Enqueue scripts. | ||
* | ||
* | ||
* @link https://developer.wordpress.org/reference/hooks/wp_enqueue_scripts/ | ||
* @return void | ||
*/ | ||
public function enqueue_scripts() { | ||
/** | ||
* Mollie.js. | ||
* | ||
* | ||
* @link https://docs.mollie.com/reference/mollie-js/overview | ||
*/ | ||
\wp_register_script( | ||
|
@@ -72,7 +72,7 @@ public function enqueue_scripts() { | |
|
||
/** | ||
* Card field style. | ||
* | ||
* | ||
* @link https://github.com/mollie/components-examples | ||
*/ | ||
$file = '../assets/dist/card-field.css'; | ||
|
@@ -104,14 +104,14 @@ public function enqueue_scripts() { | |
|
||
/** | ||
* Print scripts. | ||
* | ||
* | ||
* @link https://developer.wordpress.org/reference/functions/wp_print_scripts/ | ||
* @return void | ||
*/ | ||
public function print_scripts() { | ||
/** | ||
* WooCommerce legacy checkout. | ||
* | ||
* | ||
* @link https://github.com/woocommerce/woocommerce/blob/8.3.0/plugins/woocommerce/includes/class-wc-frontend-scripts.php#L392-L394 | ||
* @link https://github.com/woocommerce/woocommerce/blob/8.3.0/plugins/woocommerce/client/legacy/js/frontend/checkout.js | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Status transformer. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Webhook controller | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,14 @@ | |
* Bootstrap tests | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Gateways\Mollie | ||
*/ | ||
|
||
/** | ||
* Give access to tests_add_filter() function. | ||
* | ||
* | ||
* @link https://github.com/wp-phpunit/example-plugin/blob/master/tests/bootstrap.php | ||
*/ | ||
require_once getenv( 'WP_PHPUNIT__DIR' ) . '/includes/functions.php'; | ||
|
@@ -24,7 +24,7 @@ | |
|
||
/** | ||
* SQLite integration. | ||
* | ||
* | ||
* @link https://github.com/WordPress/sqlite-database-integration/issues/7#issuecomment-1646660980 | ||
* @link https://github.com/wp-phpunit/example-plugin/blob/master/tests/bootstrap.php | ||
* @link https://github.com/WordPress/wordpress-playground/blob/23c0fc6aae5d090a14d352160c34d39988167406/packages/playground/wordpress/build/Dockerfile#L25-L42 | ||
|
@@ -63,12 +63,12 @@ function () { | |
require __DIR__ . '/../vendor/wordpress/sqlite-database-integration/load.php'; | ||
|
||
require __DIR__ . '/../pronamic-pay-mollie.php'; | ||
} | ||
} | ||
); | ||
|
||
/** | ||
* Start up the WP testing environment. | ||
* | ||
* | ||
* @link https://github.com/wp-phpunit/example-plugin/blob/master/tests/bootstrap.php | ||
*/ | ||
require getenv( 'WP_PHPUNIT__DIR' ) . '/includes/bootstrap.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie config test. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
@@ -15,7 +15,7 @@ | |
/** | ||
* Title: Mollie config tests | ||
* Description: | ||
* Copyright: 2005-2023 Pronamic | ||
* Copyright: 2005-2024 Pronamic | ||
* Company: Pronamic | ||
* | ||
* @author Remco Tolsma | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie gateway test. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
@@ -47,7 +47,7 @@ class GatewayTest extends TestCase { | |
|
||
/** | ||
* HTTP factory. | ||
* | ||
* | ||
* @var Factory | ||
*/ | ||
private $factory; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie integration test. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie locale test. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
@@ -16,7 +16,7 @@ | |
/** | ||
* Title: Mollie locale helper tests | ||
* Description: | ||
* Copyright: 2005-2023 Pronamic | ||
* Copyright: 2005-2024 Pronamic | ||
* Company: Pronamic | ||
* | ||
* @author Remco Tolsma | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie methods test. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
@@ -17,7 +17,7 @@ | |
/** | ||
* Title: Mollie methods test | ||
* Description: | ||
* Copyright: 2005-2023 Pronamic | ||
* Copyright: 2005-2024 Pronamic | ||
* Company: Pronamic | ||
* | ||
* @author Remco Tolsma | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mollie statuses test. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
@@ -17,7 +17,7 @@ | |
/** | ||
* Title: Mollie statuses constants tests | ||
* Description: | ||
* Copyright: 2005-2023 Pronamic | ||
* Copyright: 2005-2024 Pronamic | ||
* Company: Pronamic | ||
* | ||
* @author Remco Tolsma | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Payment meta box. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
* | ||
|
Oops, something went wrong.