Skip to content

Commit

Permalink
Merge pull request #28 from wirecard/masterpassIntegration
Browse files Browse the repository at this point in the history
Add payment masterpass and update components
  • Loading branch information
rinnhofer authored Nov 29, 2016
2 parents c5a0735 + 4ff6645 commit f7f7951
Show file tree
Hide file tree
Showing 92 changed files with 6,213 additions and 3,088 deletions.
36 changes: 21 additions & 15 deletions Frontend/WirecardCheckoutPage/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,31 @@
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH
* (abbreviated to Wirecard CEE) and explicitly do not form part of the Wirecard CEE range
* of products and services.
* (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard configuration
* (status on delivery) of the corresponding shop system. They are under General Public
* License Version 2 (GPLv2) and can be used, developed and passed to third parties under
* License Version 2 (GPLv2) and can be used, developed and passed on to third parties under
* the same terms.
* However, Wirecard CEE does not provide any guarantee or accept any liability for any
* errors occurring when used in an enhanced, customized shop system configuration.
*
* However, Wirecard CEE does not provide any guarantee or accept any liability for any errors
* occurring when used in an enhanced, customized shop system configuration.
*
* Operation in an enhanced, customized configuration is at your own risk and requires a
* comprehensive test phase by the user of the plugin.
* The customer uses the plugin at own risk. Wirecard CEE does not guarantee its full
* functionality neither does Wirecard CEE assume liability for any disadvantage related
* to the use of this plugin. Additionally Wirecard CEE does not guarantee its full
* functionality for customized shop systems or installed plugins of other vendors of
* plugins within the same shop system.
* The customer is responsible for testing the plugin's functionality within its own shop
* system before using it within a production environment of a shop system.
* By installing the plugin to the shop system the customer agrees to the terms of use.
* Please do not use these plugins if you do not agree to this terms of use!
*
* Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full
* functionality neither does Wirecard CEE assume liability for any disadvantages related to
* the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality
* for customized shop systems or installed plugins of other vendors of plugins within the same
* shop system.
*
* Customers are responsible for testing the plugin's functionality before starting productive
* operation.
*
* By installing the plugin into the shop system the customer agrees to these terms of use.
* Please do not use the plugin if you do not agree to these terms of use!
*/

require_once __DIR__ . '/Components/CSRFWhitelistAware.php';
Expand Down Expand Up @@ -65,7 +71,7 @@ public function getCapabilities()
*/
public function getVersion()
{
return '1.2.13';
return '1.3.0';
}

/**
Expand Down
34 changes: 20 additions & 14 deletions Frontend/WirecardCheckoutPage/Components/CSRFWhitelistAware.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,31 @@
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH
* (abbreviated to Wirecard CEE) and explicitly do not form part of the Wirecard CEE range
* of products and services.
* (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard configuration
* (status on delivery) of the corresponding shop system. They are under General Public
* License Version 2 (GPLv2) and can be used, developed and passed to third parties under
* License Version 2 (GPLv2) and can be used, developed and passed on to third parties under
* the same terms.
* However, Wirecard CEE does not provide any guarantee or accept any liability for any
* errors occurring when used in an enhanced, customized shop system configuration.
*
* However, Wirecard CEE does not provide any guarantee or accept any liability for any errors
* occurring when used in an enhanced, customized shop system configuration.
*
* Operation in an enhanced, customized configuration is at your own risk and requires a
* comprehensive test phase by the user of the plugin.
* The customer uses the plugin at own risk. Wirecard CEE does not guarantee its full
* functionality neither does Wirecard CEE assume liability for any disadvantage related
* to the use of this plugin. Additionally Wirecard CEE does not guarantee its full
* functionality for customized shop systems or installed plugins of other vendors of
* plugins within the same shop system.
* The customer is responsible for testing the plugin's functionality within its own shop
* system before using it within a production environment of a shop system.
* By installing the plugin to the shop system the customer agrees to the terms of use.
* Please do not use these plugins if you do not agree to this terms of use!
*
* Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full
* functionality neither does Wirecard CEE assume liability for any disadvantages related to
* the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality
* for customized shop systems or installed plugins of other vendors of plugins within the same
* shop system.
*
* Customers are responsible for testing the plugin's functionality before starting productive
* operation.
*
* By installing the plugin into the shop system the customer agrees to these terms of use.
* Please do not use the plugin if you do not agree to these terms of use!
*/

namespace Shopware\Components;
Expand Down
34 changes: 20 additions & 14 deletions Frontend/WirecardCheckoutPage/Components/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,31 @@
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH
* (abbreviated to Wirecard CEE) and explicitly do not form part of the Wirecard CEE range
* of products and services.
* (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard configuration
* (status on delivery) of the corresponding shop system. They are under General Public
* License Version 2 (GPLv2) and can be used, developed and passed to third parties under
* License Version 2 (GPLv2) and can be used, developed and passed on to third parties under
* the same terms.
* However, Wirecard CEE does not provide any guarantee or accept any liability for any
* errors occurring when used in an enhanced, customized shop system configuration.
*
* However, Wirecard CEE does not provide any guarantee or accept any liability for any errors
* occurring when used in an enhanced, customized shop system configuration.
*
* Operation in an enhanced, customized configuration is at your own risk and requires a
* comprehensive test phase by the user of the plugin.
* The customer uses the plugin at own risk. Wirecard CEE does not guarantee its full
* functionality neither does Wirecard CEE assume liability for any disadvantage related
* to the use of this plugin. Additionally Wirecard CEE does not guarantee its full
* functionality for customized shop systems or installed plugins of other vendors of
* plugins within the same shop system.
* The customer is responsible for testing the plugin's functionality within its own shop
* system before using it within a production environment of a shop system.
* By installing the plugin to the shop system the customer agrees to the terms of use.
* Please do not use these plugins if you do not agree to this terms of use!
*
* Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full
* functionality neither does Wirecard CEE assume liability for any disadvantages related to
* the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality
* for customized shop systems or installed plugins of other vendors of plugins within the same
* shop system.
*
* Customers are responsible for testing the plugin's functionality before starting productive
* operation.
*
* By installing the plugin into the shop system the customer agrees to these terms of use.
* Please do not use the plugin if you do not agree to these terms of use!
*/

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,46 @@
<?php
/*
* Die vorliegende Software ist Eigentum von Wirecard CEE und daher vertraulich
* zu behandeln. Jegliche Weitergabe an dritte, in welcher Form auch immer, ist
* unzulaessig.
*
* Software & Service Copyright (C) by
* Wirecard Central Eastern Europe GmbH,
* FB-Nr: FN 195599 x, http://www.wirecard.at
*/
/**
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH
* (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard configuration
* (status on delivery) of the corresponding shop system. They are under General Public
* License Version 2 (GPLv2) and can be used, developed and passed on to third parties under
* the same terms.
*
* However, Wirecard CEE does not provide any guarantee or accept any liability for any errors
* occurring when used in an enhanced, customized shop system configuration.
*
* Operation in an enhanced, customized configuration is at your own risk and requires a
* comprehensive test phase by the user of the plugin.
*
* Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full
* functionality neither does Wirecard CEE assume liability for any disadvantages related to
* the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality
* for customized shop systems or installed plugins of other vendors of plugins within the same
* shop system.
*
* Customers are responsible for testing the plugin's functionality before starting productive
* operation.
*
* By installing the plugin into the shop system the customer agrees to these terms of use.
* Please do not use the plugin if you do not agree to these terms of use!
*/

return Array(
'FRONTEND_URL' => 'https://checkout.wirecard.com/page/init-server.php',
'TOOLKIT_URL' => 'https://checkout.wirecard.com/page/toolkit.php',
'MODULE_NAME' => 'WirecardCEE_QPay',
'MODULE_VERSION' => '3.1.0',
'DEPENDENCIES' => Array(
'FRAMEWORK_NAME' => 'Zend_Framework',
'FRAMEWORK_VERSION' => Array(
'MINIMUM' => '1.11.10',
'CURRENT' => Zend_Version::VERSION
),
'FRONTEND_URL' => 'https://checkout.wirecard.com/page/init-server.php',
'TOOLKIT_URL' => 'https://checkout.wirecard.com/page/toolkit.php',
'MODULE_NAME' => 'WirecardCEE_QPay',
'MODULE_VERSION' => '3.0.3',
'DEPENDENCIES' => Array(
'FRAMEWORK_NAME' => 'Zend_Framework',
'FRAMEWORK_VERSION' => Array(
'MINIMUM' => '1.11.10',
'CURRENT' => Zend_Version::VERSION
),
'USE_DEBUG' => FALSE
),
'USE_DEBUG' => false
);
Original file line number Diff line number Diff line change
@@ -1,25 +1,47 @@
<?php
/*
* Die vorliegende Software ist Eigentum von Wirecard CEE und daher vertraulich
* zu behandeln. Jegliche Weitergabe an dritte, in welcher Form auch immer, ist
* unzulaessig.
*
* Software & Service Copyright (C) by
* Wirecard Central Eastern Europe GmbH,
* FB-Nr: FN 195599 x, http://www.wirecard.at
*/
/**
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH
* (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard configuration
* (status on delivery) of the corresponding shop system. They are under General Public
* License Version 2 (GPLv2) and can be used, developed and passed on to third parties under
* the same terms.
*
* However, Wirecard CEE does not provide any guarantee or accept any liability for any errors
* occurring when used in an enhanced, customized shop system configuration.
*
* Operation in an enhanced, customized configuration is at your own risk and requires a
* comprehensive test phase by the user of the plugin.
*
* Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full
* functionality neither does Wirecard CEE assume liability for any disadvantages related to
* the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality
* for customized shop systems or installed plugins of other vendors of plugins within the same
* shop system.
*
* Customers are responsible for testing the plugin's functionality before starting productive
* operation.
*
* By installing the plugin into the shop system the customer agrees to these terms of use.
* Please do not use the plugin if you do not agree to these terms of use!
*/


/**
* Configuration array
*
* Please input your details
*/
return Array(
'WirecardCEEQPayConfig' => Array(
'CUSTOMER_ID' => 'D200001',
'SHOP_ID' => '',
'SECRET' => 'B8AKTPWBRMNBV455FG6M2DANE99WU2',
'LANGUAGE' => 'en',
'TOOLKIT_PASSWORD' => 'jcv45z'
)
'WirecardCEEQPayConfig' => Array(
'CUSTOMER_ID' => 'D200001',
'SHOP_ID' => '',
'SECRET' => 'B8AKTPWBRMNBV455FG6M2DANE99WU2',
'LANGUAGE' => 'en',
'TOOLKIT_PASSWORD' => 'jcv45z'
)
);
48 changes: 36 additions & 12 deletions Frontend/WirecardCheckoutPage/Components/WirecardCEE/QPay/Error.php
Original file line number Diff line number Diff line change
@@ -1,27 +1,51 @@
<?php
/*
* Die vorliegende Software ist Eigentum von Wirecard CEE und daher vertraulich
* zu behandeln. Jegliche Weitergabe an dritte, in welcher Form auch immer, ist
* unzulaessig.
*
* Software & Service Copyright (C) by
* Wirecard Central Eastern Europe GmbH,
* FB-Nr: FN 195599 x, http://www.wirecard.at
*/
/**
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH
* (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard configuration
* (status on delivery) of the corresponding shop system. They are under General Public
* License Version 2 (GPLv2) and can be used, developed and passed on to third parties under
* the same terms.
*
* However, Wirecard CEE does not provide any guarantee or accept any liability for any errors
* occurring when used in an enhanced, customized shop system configuration.
*
* Operation in an enhanced, customized configuration is at your own risk and requires a
* comprehensive test phase by the user of the plugin.
*
* Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full
* functionality neither does Wirecard CEE assume liability for any disadvantages related to
* the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality
* for customized shop systems or installed plugins of other vendors of plugins within the same
* shop system.
*
* Customers are responsible for testing the plugin's functionality before starting productive
* operation.
*
* By installing the plugin into the shop system the customer agrees to these terms of use.
* Please do not use the plugin if you do not agree to these terms of use!
*/


/**
* @name WirecardCEE_QPay_Error
* @category WirecardCEE
* @package WirecardCEE_QPay
* @version 3.1.0
*/
class WirecardCEE_QPay_Error extends WirecardCEE_Stdlib_Error {
class WirecardCEE_QPay_Error extends WirecardCEE_Stdlib_Error
{

/**
* WirecardCEE_QPay_Error contructor
*
* @param string $message
*/
public function __construct($message) {
public function __construct($message)
{
$this->setMessage($message);
}
}
Loading

0 comments on commit f7f7951

Please sign in to comment.