Skip to content

Commit

Permalink
fixed company tasx id and live mode troubles
Browse files Browse the repository at this point in the history
  • Loading branch information
rpWelschlau committed Nov 18, 2014
1 parent c48e459 commit 5c813f0
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 13 deletions.
13 changes: 13 additions & 0 deletions DOCS/changelog.txt
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
***********************************************************
**********| Version 1.0.2 - Released 2014-11-18 |**********
***********************************************************

* Fixed live mode
* Changed sandbox text/label

***********************************************************
**********| Version 1.0.1 - Released 2014-11-17 |**********
***********************************************************

* Fixed company tax id

***********************************************************
**********| Version 1.0.0 - Released 2014-11-12 |**********
***********************************************************
Expand Down
Empty file modified DOCS/installation.txt
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ RatePAY GmbH - OpenCart Payment Page Connector
|------|----------
|Author | `Aarne Welschlau`
|Shop Version | `1.5.6.x`
|Version | `1.0.0`
|Version | `1.0.2`
|Link | `http://www.ratepay.com`
|Mail | `integration@ratepay.com`
|Description | `Initial Version`
|Description | `Fixed live mode - Changed sandbox text/label`
|Installation | `see separate installation manual`
4 changes: 2 additions & 2 deletions admin/language/de_DE/payment/ratepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

$_['ratepay_status_text'] = 'Status';

$_['ratepay_sandbox_text'] = 'Sandbox';
$_['ratepay_sandbox_help'] = 'Der Sandbox-Modul dient dem Modultest. Alle Requests werden gegen das RatePAY Integrations-Gateway gesendet.';
$_['ratepay_sandbox_text'] = 'Test-Modus';
$_['ratepay_sandbox_help'] = 'Der Test-Modus (Sandbox) dient dem Modultest. Alle Requests werden gegen das RatePAY Integrations-Gateway gesendet.';

$_['ratepay_title_text'] = 'Bezeichnung';
$_['ratepay_title_help'] = 'Benennung innerhalb der Zahlartenauswahl';
Expand Down
14 changes: 7 additions & 7 deletions admin/language/english/payment/ratepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@

$_['ratepay_status_text'] = 'Status';

$_['ratepay_sandbox_text'] = 'Sandbox';
$_['ratepay_sandbox_help'] = 'Der Sandbox-Modul dient dem Modultest. Alle Requests werden gegen das RatePAY Integrations-Gateway gesendet.';
$_['ratepay_sandbox_text'] = 'Test Mode';
$_['ratepay_sandbox_help'] = '';

$_['ratepay_title_text'] = 'Title';
$_['ratepay_title_help'] = 'Benennung innerhalb der Zahlartenauswahl';
$_['ratepay_title_help'] = '';

$_['ratepay_description_text'] = 'Description';

$_['ratepay_profile_id_text'] = 'Profile Id';
$_['ratepay_security_code_text'] = 'Securiy Code';

$_['ratepay_order_status_text'] = 'Order status';
$_['ratepay_order_status_help'] = 'Bestellstatus nach erfolgreicher Bestellannahme durch RatePAY';
$_['ratepay_order_status_help'] = '';

$_['ratepay_limits_text'] = 'Order limits';
$_['ratepay_limits_help'] = 'Die Grenzwerte innerhalb derer RatePAY als Zahlart verfügbar sein soll';
$_['ratepay_limits_help'] = '';
$_['ratepay_limit_max_text'] = 'Minimum amout (EUR)';
$_['ratepay_limit_min_text'] = 'Maximum amout (EUR)';

Expand All @@ -40,10 +40,10 @@
$_['ratepay_b2b_text'] = 'B2B/<br/>business customers';

$_['ratepay_pp_editable_text'] = 'PayPage - Customer data editable';
$_['ratepay_pp_editable_help'] = 'Der Käufer soll die Möglichkeit haben seine Adressdaten auf der RatePAY Payment Page zu verändern';
$_['ratepay_pp_editable_help'] = '';

$_['ratepay_pp_basket_text'] = 'PayPage - Show basket';
$_['ratepay_pp_basket_help'] = 'Dem Käufer wird auf der RatePAY Payment Page der Warenkorb angezeigt';
$_['ratepay_pp_basket_help'] = '';

$_['ratepay_sort_order_text'] = 'Sort order';

Expand Down
7 changes: 6 additions & 1 deletion catalog/controller/payment/ratepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,12 @@ private function _getRequestObject() {
$this->session->data['order_id']
)
);
$requestObject->setSandBoxUrl($helperConnection->getRatepayPayPageApiUrl($this->config->get('ratepay_sandbox')));

if ($this->config->get('ratepay_sandbox')) {
$requestObject->setSandBoxUrl($helperConnection->getRatepayPayPageApiUrl(true));
} else {
$requestObject->setLiveUrl($helperConnection->getRatepayPayPageApiUrl(false));
}

return $requestObject;
}
Expand Down
Empty file modified catalog/view/theme/default/template/payment/ratepay_failure.tpl
100644 → 100755
Empty file.
Empty file modified ratepay/helper/RatepayGatewayConnection.php
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion ratepay/helper/RatepayVersion.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class RatepayHelperVersion
{
private $_version = '1.0.0';
private $_version = '1.0.2';

public function getRatepayVersion()
{
Expand Down

0 comments on commit 5c813f0

Please sign in to comment.