Skip to content

Commit

Permalink
Merge pull request #3 from wirecard/unixPathSeparator
Browse files Browse the repository at this point in the history
#2 Use correct path terminators
  • Loading branch information
rinnhofer authored Feb 22, 2017
2 parents 0fd06e0 + 503b26e commit 5e71d2c
Show file tree
Hide file tree
Showing 743 changed files with 280,849 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[![License](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://raw.githubusercontent.com/wirecard/jtlshop-wcp/master/LICENSE)
[![JTL-Shop](https://img.shields.io/badge/JTL--Shop-v3.20-green.svg)](https://www.jtl-software.de/)
[![JTL-Shop](https://img.shields.io/badge/JTL--Shop-v4.01-green.svg)](https://www.jtl-software.de/)
[![JTL-Shop](https://img.shields.io/badge/JTL--Shop-v4.05-green.svg)](https://www.jtl-software.de/)
[![PHP v5.6](https://img.shields.io/badge/php-v5.6-yellow.svg)](http://www.php.net)
[![PHP v7.0](https://img.shields.io/badge/php-v7.0-yellow.svg)](http://www.php.net)

Wirecard Checkout Page plugin for JTL-Shop.

Expand Down
4 changes: 4 additions & 0 deletions includes/plugins/wirecard_checkout_page/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
<CreateDate>2016-11-30</CreateDate>
<!--<SQL>install.sql</SQL>-->
</Version>
<Version nr="105">
<CreateDate>2017-02-20</CreateDate>
<!--<SQL>install.sql</SQL>-->
</Version>
<Adminmenu>
<Settingslink sort="1">
<Name>Einstellungen</Name>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php


if ($_REQUEST['xIframeUsed'] && ! array_key_exists('redirected', $_REQUEST)
&& ! array_key_exists('confirm', $_REQUEST)
) {

require_once(PFAD_ROOT .'includes\\smartyInclude.php');

$cPh = verifyGPDataString('ph');
$cSh = verifyGPDataString('sh');

if (strlen($cPh)) {
$key = 'ph';
$hash = $cPh;
} else {
$key = 'sh';
$hash = $cSh;
}

$tmpl = dirname(__FILE__) . '/../paymentmethod/template/iframebreakout.tpl';
$smarty->assign('url', gibShopURL() . '/includes/modules/notify.php?' . $key . '=' . $hash);
$smarty->assign('args', $_REQUEST);
if ($_REQUEST['language'] == 'de') {
$smarty->assign('txt_redirect', 'Sie werden in K&uuml;rze weitergeleitet.');
$smarty->assign(
'txt_redirect_click',
'falls nicht, klicken Sie bitte <a href="#" onclick="iframeBreakout()">hierl</a>'
);

} else {
$smarty->assign('txt_redirect', 'You will be redirected shortly.');
$smarty->assign('txt_redirect_click', 'If not, please click <a href="#" onclick="iframeBreakout()">here</a>');
}

$smarty->display($tmpl);

exit;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
/*
* Shop System Plugins - Terms of use
*
* This terms of use regulates warranty and liability between Wirecard Central Eastern Europe (subsequently referred to as WDCEE) and it's
* contractual partners (subsequently referred to as customer or customers) which are related to the use of plugins provided by WDCEE.
*
* The Plugin is provided by WDCEE free of charge for it's customers and must be used for the purpose of WDCEE's payment platform
* integration only. It explicitly is not part of the general contract between WDCEE and it's customer. The plugin has successfully been tested
* under specific circumstances which are defined as the shopsystem's standard configuration (vendor's delivery state). The Customer is
* responsible for testing the plugin's functionality before putting it into production enviroment.
* The customer uses the plugin at own risk. WDCEE does not guarantee it's full functionality neither does WDCEE assume liability for any
* disadvantage related to the use of this plugin. By installing the plugin into the shopsystem the customer agrees to the terms of use.
* Please do not use this plugin if you do not agree to the terms of use!
*/


if (isset($_SESSION['wirecard_checkout_page_message'])) {
$smarty->assign('hinweis', $_SESSION['wirecard_checkout_page_message']);
unset($_SESSION['wirecard_checkout_page_message']);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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
*/
return Array(
'FRONTEND_URL' => 'https://checkout.wirecard.com/page/init-server.php',
'TOOLKIT_URL' => 'https://secure.wirecard-cee.com/qpay/toolkit.php',
'MODULE_NAME' => 'WirecardCEE_Checkout_Page',
'MODULE_VERSION' => '3.0.0',
'DEPENDENCIES' => Array(
'FRAMEWORK_NAME' => 'Zend_Framework',
'FRAMEWORK_VERSION' => Array(
'MINIMUM' => '1.11.10',
'CURRENT' => Zend_Version::VERSION
),
),
'USE_DEBUG' => FALSE
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?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
*/

/**
* Configuration array
*
* Please input your details
*/
return Array(
'WirecardCEEQPayConfig' => Array(
'CUSTOMER_ID' => 'D200001',
'SHOP_ID' => '',
'SECRET' => 'B8AKTPWBRMNBV455FG6M2DANE99WU2',
'LANGUAGE' => 'en',
'TOOLKIT_PASSWORD' => 'jcv45z'
)
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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
*/
/**
* @name WirecardCEE_QPay_Error
* @category WirecardCEE
* @package WirecardCEE_QPay
* @version 3.0.0
*/
class WirecardCEE_QPay_Error extends WirecardCEE_Stdlib_Error {

/**
* WirecardCEE_QPay_Error contructor
*
* @param string $message
*/
public function __construct($message) {
$this->setMessage($message);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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
*/
/**
* @name WirecardCEE_QPay_Exception_BadMethodCallException
* @category WirecardCEE
* @package WirecardCEE_QPay
* @subpackage Exception
* @version 3.0.0
*/
class WirecardCEE_QPay_Exception_BadMethodCallException extends BadMethodCallException implements WirecardCEE_QPay_Exception_ExceptionInterface {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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
*/
/**
* @name WirecardCEE_QPay_Exception_ExceptionInterface
* @category WirecardCEE
* @package WirecardCEE_QPay
* @subpackage Exception
* @version 3.0.0
*/
interface WirecardCEE_QPay_Exception_ExceptionInterface {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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
*/
/**
* @name WirecardCEE_QPay_Exception_InvalidArgumentException
* @category WirecardCEE
* @package WirecardCEE_QPay
* @subpackage Exception
* @version 3.0.0
*/
class WirecardCEE_QPay_Exception_InvalidArgumentException extends InvalidArgumentException implements WirecardCEE_QPay_Exception_ExceptionInterface {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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
*/
/**
* @name WirecardCEE_QPay_Exception_InvalidParamLengthException
* @category WirecardCEE
* @package WirecardCEE_QPay
* @subpackage Exception
* @version 3.0.0
*/
class WirecardCEE_QPay_Exception_InvalidParamLengthException extends LengthException implements WirecardCEE_QPay_Exception_ExceptionInterface {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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
*/
/**
* @name WirecardCEE_QPay_Exception_InvalidResponseException
* @category WirecardCEE
* @package WirecardCEE_QPay
* @subpackage Exception
* @version 3.0.0
*/
class WirecardCEE_QPay_Exception_InvalidResponseException extends WirecardCEE_Stdlib_Exception_InvalidResponseException implements WirecardCEE_QPay_Exception_ExceptionInterface {}
Loading

0 comments on commit 5e71d2c

Please sign in to comment.