-
Notifications
You must be signed in to change notification settings - Fork 2
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
Daniel Fuhs
committed
Oct 5, 2016
0 parents
commit 599858c
Showing
106 changed files
with
9,758 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SOFORT Banking by ![alt text](src/copy_this/modules/tronet/tronet.gif) | ||
|
||
## functional description | ||
|
||
The OXID eShop interface for SOFORT Banking (further references as SOFORT | ||
Überweisung) extends an existing installation of the software OXID eShop by the | ||
payment method SOFORT Überweisung. | ||
|
||
OXID eShop is a software by OXID eSales GmbH, Freiburg, Germany. It is | ||
available at [www.oxid-esales.com](http://www.oxid-esales.com). | ||
|
||
SOFORT Überweisung is an online payment service of SOFORT AG, Gauting. The | ||
registration / establishment of the service is done at [www.sofort.com](http://www.sofort.com). | ||
The SOFORT AG charges transaction fees for using the service. |
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 |
---|---|---|
@@ -0,0 +1,85 @@ | ||
==1.0.0== | ||
*Initial release of module for Sofortueberweisung. | ||
|
||
==4.0.0== | ||
*ADDED: compatibility for Oxid 4.0 | ||
|
||
==4.0.1== | ||
*FIXED: minor bugs | ||
|
||
==4.5.0== | ||
*ADDED: compatibility for Oxid 4.5 | ||
|
||
==4.5.1== | ||
*FIXED: minor bugs | ||
|
||
==4.6.0== | ||
*ADDED: compatibility for Oxid 4.6 | ||
|
||
==4.7.0== | ||
*ADDED: compatibility for Oxid 4.7/5.0 | ||
|
||
==4.8.0== | ||
*ADDED: compatibility for Oxid 4.8/5.1 | ||
*FIXED: saving wrong SSL-shop-URL during Setup | ||
*FIXED: shop-session sometimes lost during payment-process | ||
|
||
==5.0.0== | ||
*Internal release of module using new sofortgateway-API by sofort AG. | ||
|
||
==6.0.0== | ||
*Initial release of certified module using new sofortgateway-API by sofort AG. | ||
|
||
==6.0.1== | ||
*FIXED: minor bugs | ||
|
||
==6.0.2== | ||
*FIXED: minor bugs | ||
|
||
==6.1.0== | ||
*ADDED: compatibility for currency CHF | ||
|
||
==6.1.1== | ||
*ADDED: reason for the bank transfer can be edited | ||
|
||
==6.1.2== | ||
*FIXED: minor bugs | ||
|
||
==6.2.0== | ||
*ADDED: compatibility for Oxid 4.9 | ||
|
||
==6.2.1== | ||
*FIXED: minor bugs | ||
|
||
==6.2.2== | ||
*FIXED: minor bugs | ||
|
||
==6.2.3== | ||
*ADDED: transaction second reason now editable | ||
*ADDED: Logfile /log/SOFORTGATEWAY_LOG.txt | ||
|
||
==6.2.4== | ||
*ADDED: support for standard OXID mobile theme | ||
*ADDED: functionality to chose what should happen with canceled orders | ||
*FIXED: Bug which resulted in having no order-no passed | ||
*UPDATED: readme-files | ||
|
||
==6.2.5== | ||
*FIXED: Bug, which hasn't called the finalizeOrder properly, which lead to some unexpected results | ||
*FIXED: Bug, which didn't refresh the varstock after cancelling an order | ||
|
||
==6.2.6== | ||
*FIXED: Bug, consider oxorderarticles on deleting an unfinished order | ||
*FIXED: When an order has been canceled during a step at sofortüberweisung article stock has not been updated again. | ||
|
||
==7.0.0== | ||
*CHANGED: Removed dependency to ZendGuard | ||
*CHANGED: Module is not longer encrypted | ||
*ADDED: an auto-update feature as well as an manual-update feature | ||
*ADDED: functionality to show if files were manually changed in this shop | ||
*ADDED: a new Site for feedback, FAQ's and more (http://www.sofort.tro.net) | ||
*ADDED: Made Source available in Git | ||
*ADDED: Menu item in the admin-navigation for diverse features | ||
*UPDATED: Updated the manual | ||
*ADDED: an option to disable the auto-update notification | ||
*ADDED: Logo in order step 3 can be toggled via module settings now |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
INSERT IGNORE INTO `oxpayments` SET | ||
`OXID` = 'trosofortgateway_su', | ||
`OXACTIVE` = 1, | ||
`OXDESC` = 'SOFORT Überweisung', | ||
`OXDESC_1` = 'SOFORT Banking', | ||
`OXADDSUM` = 0, | ||
`OXADDSUMTYPE` = 'abs', | ||
`OXADDSUMRULES` = 15, | ||
`OXFROMBONI` = 0, | ||
`OXFROMAMOUNT` = 0, | ||
`OXTOAMOUNT` = 999999, | ||
`OXCHECKED` = 1, | ||
`OXSORT` = 1, | ||
`OXLONGDESC` = '<div id=\"payment_form_sofortueberweisung\" style=\"padding-left: 20px; padding-bottom: 10px;\"> | ||
<ul style=\"list-style-type:disc;\"> | ||
<li style=\"margin-left:15px;\">- Vom TÜV Saarland zertifiziertes Zahlungssystem mit geprüftem Datenschutz</li> | ||
<li style=\"margin-left:15px;\">- Keine Registrierung notwendig</li> | ||
<li style=\"margin-left:15px;\">- Ware / Content kann bei Verfügbarkeit SOFORT versendet / freigeschaltet werden</li> | ||
<li style=\"margin-left:15px;\">- Bitte halten Sie Ihre Online-Banking-Daten (PIN/TAN) bereit</li> | ||
</ul> | ||
</div> | ||
<div class=\"clear\"></div>', | ||
`OXLONGDESC_1` = '<div id=\"payment_form_sofortueberweisung\" style=\"padding-left: 20px; padding-bottom: 10px;\"> | ||
<ul style=\"list-style-type:disc;\"> | ||
<li style=\"margin-left:15px;\">- Payment system with data protection certified by TÜV Saarland</li> | ||
<li style=\"margin-left:15px;\">- No registration required</li> | ||
<li style=\"margin-left:15px;\">- Stock goods / content can be shipped / activated immediately</li> | ||
<li style=\"margin-left:15px;\">- Please have your online banking details at hand</li> | ||
</ul> | ||
</div> | ||
<div class=\"clear\"></div>'; | ||
|
||
CREATE TABLE IF NOT EXISTS `trogatewaylog` ( | ||
`OXID` varchar(32) collate latin1_general_ci NOT NULL, | ||
`TRANSACTIONID` varchar(255) collate latin1_general_ci NOT NULL, | ||
`TRANSACTION` varchar(255) collate latin1_general_ci NOT NULL, | ||
`STATUS` varchar(255) collate latin1_general_ci NOT NULL, | ||
`STATUSREASON` varchar(255) collate latin1_general_ci NOT NULL, | ||
`TIMESTAMP` timestamp NOT NULL default CURRENT_TIMESTAMP, | ||
PRIMARY KEY (`OXID`) | ||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This is a license agreement between you and the Tronet GmbH. | ||
By installation and use of the software, you confirm that you have read the license agreement and agree with her. | ||
If you do not agree with one or more points, you are not authorized to install this software, distribute or use them. | ||
The license agreement legitimates you to install and use the software on one or more computers. | ||
The license for the software is free. | ||
You are not entitled to technical support of any kind, the Tronet GmbH is not obliged to provide maintenance or revision of the software. |
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
==Title== | ||
trosofortueberweisung | ||
|
||
==Author== | ||
tronet GmbH | ||
|
||
==Prefix== | ||
tro | ||
|
||
==Version== | ||
7.0.0 | ||
|
||
==Link== | ||
http://www.tronet.media | ||
|
||
==Mail== | ||
info@tro.net | ||
|
||
==Description== | ||
Module for integration of Sofortueberweisung-payment in Oxid. | ||
|
||
==Extend== | ||
*oxpaymentgateway | ||
--executePayment | ||
*oxorder | ||
--finalizeOrder | ||
--_executePayment | ||
*payment | ||
--validatePayment | ||
|
||
==Requirements== | ||
1. Oxid eshop in Version from 4.7.x /5.0.x | ||
3. An active "Sofortgateway-project" at Sofort.com | ||
|
||
==Installation== | ||
1. Copy contents of folder "/copy_this/" into your shop-root | ||
2. Activate module "trosofortueberweisung" in your oxid-backend | ||
3. Enter your Configuration-Key at Extensions->Modules->tronet SOFORT Überweisung | ||
4. Configure new payment "Sofortüberweisung" in your oxid backend (Payment-methods, Shipping-methods) | ||
|
||
==Modules== | ||
oxpaymentgateway => tronet/trosofortueberweisung/application/models/trosofortueberweisungoxpaymentgateway | ||
oxorder => tronet/trosofortueberweisung/application/models/trosofortueberweisungoxorder | ||
order => tronet/trosofortueberweisung/application/controllers/trosofortueberweisungorder | ||
order_overview => tronet/trosofortueberweisung/application/controllers/admin/trosofortueberweisungorder_overview | ||
payment => tronet/trosofortueberweisung/application/controllers/trosofortueberweisungpayment | ||
oxbasket => tronet/trosofortueberweisung/application/models/trosofortueberweisungoxbasket | ||
oxbasketitem => tronet/trosofortueberweisung/application/models/trosofortueberweisungoxbasketitem | ||
navigation => tronet/trosofortueberweisung/application/controllers/admin/trosofortueberweisung_navigation | ||
oxlist => tronet/trosofortueberweisung/application/models/trosofortueberweisungreleaseoxlist | ||
|
||
==Libraries== | ||
SofortLib-PHP-Payment-2.1.2 (/copy_this/tronet/trosofortueberweisung/library/) |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions
27
...ules/tronet/trosofortueberweisung/application/controllers/admin/trosofortueberweisung.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
class trosofortueberweisung extends oxAdminView { | ||
|
||
function render() | ||
{ | ||
parent::render(); | ||
|
||
$sCurrentAdminShop = oxRegistry::getSession()->getVariable('currentadminshop'); | ||
|
||
if ( !$sCurrentAdminShop ) { | ||
if ( oxRegistry::getSession()->getVariable('malladmin') ) { | ||
$sCurrentAdminShop = 'oxbaseshop'; | ||
} else { | ||
$sCurrentAdminShop = oxRegistry::getSession()->getVariable('actshop'); | ||
} | ||
} | ||
|
||
$this->_aViewData['linkFix'] = "?"; | ||
$aVersion = explode( '.', $this->getConfig()->getActiveShop()->oxshops__oxversion->value ); | ||
if( 4 == $aVersion[0] && 3 <= $aVersion[1] ) $this->_aViewData['linkFix'] = ""; | ||
|
||
$this->_aViewData['currentadminshop'] = $sCurrentAdminShop; | ||
oxRegistry::getSession()->setVariable('currentadminshop', $sCurrentAdminShop); | ||
|
||
return 'trosofortueberweisung.tpl'; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...tronet/trosofortueberweisung/application/controllers/admin/trosofortueberweisung_list.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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
/** | ||
* Main admin controller for SOFORT Banking by tronet. | ||
* | ||
* This backend controller provides a UI for following | ||
* business processes: | ||
* * manual check for new versions | ||
* * manual check if and what files has been adjusted | ||
* | ||
* @file trosofortueberweisung_main.php | ||
* @link http://www.tro.net | ||
* @copyright (C) tronet GmbH 2016 | ||
* @package modules | ||
* @addtogroup application/controllers/admin | ||
* @author tronet GmbH | ||
* @since 7.0.0 | ||
*/ | ||
class trosofortueberweisung_list extends oxAdminList | ||
{ | ||
/** | ||
* Extends rendering process by our needs. | ||
* | ||
* @return string | ||
* @author tronet GmbH | ||
* @since 7.0.0 | ||
*/ | ||
public function render() | ||
{ | ||
parent::render(); | ||
return "trosofortueberweisung_list.tpl"; | ||
} | ||
} |
Oops, something went wrong.