Trustly - Version 2.0.12

Version Notes

Download this release

Release Info

Developer Trustly
Extension Trustly
Version 2.0.12
Comparing to
See all releases


Code changes from version 2.0.11 to 2.0.12

Files changed (40) hide show
  1. app/code/community/Trustly/Trustly/Block/Form.php +1 -1
  2. app/code/community/Trustly/Trustly/Block/Redirect.php +1 -1
  3. app/code/community/Trustly/Trustly/Block/System/Config/About.php +1 -1
  4. app/code/community/Trustly/Trustly/Helper/Data.php +1 -1
  5. app/code/community/Trustly/Trustly/Model/Mysql4/Ordermappings.php +1 -1
  6. app/code/community/Trustly/Trustly/Model/Ordermappings.php +1 -1
  7. app/code/community/Trustly/Trustly/Model/Standard.php +8 -3
  8. app/code/community/Trustly/Trustly/controllers/PaymentController.php +1 -1
  9. app/code/community/Trustly/Trustly/etc/config.xml +1 -1
  10. app/code/community/Trustly/Trustly/etc/system.xml +1 -1
  11. app/code/community/Trustly/Trustly/lib/README.md +100 -0
  12. app/code/community/Trustly/Trustly/lib/Trustly.php +2 -2
  13. app/code/community/Trustly/Trustly/lib/Trustly/Api/api.php +1 -1
  14. app/code/community/Trustly/Trustly/lib/Trustly/Api/ecommerce.php +0 -168
  15. app/code/community/Trustly/Trustly/lib/Trustly/Api/signed.php +26 -6
  16. app/code/community/Trustly/Trustly/lib/Trustly/Api/unsigned.php +1 -1
  17. app/code/community/Trustly/Trustly/lib/Trustly/Data/data.php +1 -1
  18. app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcnotificationrequest.php +1 -1
  19. app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcnotificationresponse.php +1 -1
  20. app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcrequest.php +1 -1
  21. app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcresponse.php +1 -1
  22. app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcsignedresponse.php +1 -1
  23. app/code/community/Trustly/Trustly/lib/Trustly/Data/request.php +1 -1
  24. app/code/community/Trustly/Trustly/lib/Trustly/Data/response.php +1 -1
  25. app/code/community/Trustly/Trustly/lib/Trustly/exceptions.php +1 -1
  26. app/code/community/Trustly/Trustly/lib/composer.json +19 -0
  27. app/code/community/Trustly/Trustly/sql/trustly_setup/{install-2.0.4.php → install-2.0.11.php} +0 -0
  28. app/code/community/Trustly/Trustly/sql/trustly_setup/mysql4-install-2.0.10.php +15 -0
  29. app/design/frontend/base/default/template/trustly/form.phtml +1 -1
  30. app/design/frontend/base/default/template/trustly/iframe.phtml +1 -1
  31. app/design/frontend/base/default/template/trustly/mark.phtml +2 -2
  32. app/locale/da_DK/Trustly_Trustly.csv +7 -6
  33. app/locale/en_US/Trustly_Trustly.csv +2 -5
  34. app/locale/es_ES/Trustly_Trustly.csv +4 -5
  35. app/locale/et_EE/Trustly_Trustly.csv +7 -6
  36. app/locale/fi_FI/Trustly_Trustly.csv +7 -6
  37. app/locale/nb_NO/Trustly_Trustly.csv +35 -0
  38. app/locale/pl_PL/Trustly_Trustly.csv +7 -6
  39. app/locale/sv_SE/Trustly_Trustly.csv +2 -5
  40. package.xml +43 -38
app/code/community/Trustly/Trustly/Block/Form.php CHANGED
@@ -45,4 +45,4 @@ class Trustly_Trustly_Block_Form extends Mage_Payment_Block_Form
45
  }
46
 
47
  }
48
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
45
  }
46
 
47
  }
48
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/Block/Redirect.php CHANGED
@@ -38,4 +38,4 @@ class Trustly_Trustly_Block_Redirect extends Mage_Core_Block_Template
38
  }
39
  }
40
  }
41
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
38
  }
39
  }
40
  }
41
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/Block/System/Config/About.php CHANGED
@@ -36,4 +36,4 @@ class Trustly_Trustly_Block_System_Config_About extends Mage_Adminhtml_Block_Abs
36
  return $html;
37
  }
38
  }
39
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
36
  return $html;
37
  }
38
  }
39
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/Helper/Data.php CHANGED
@@ -220,4 +220,4 @@ class Trustly_Trustly_Helper_Data extends Mage_Core_Helper_Abstract
220
  }
221
 
222
  }
223
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
220
  }
221
 
222
  }
223
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/Model/Mysql4/Ordermappings.php CHANGED
@@ -70,4 +70,4 @@ class Trustly_Trustly_Model_Mysql4_Ordermappings extends Mage_Core_Model_Mysql4_
70
  return TRUE;
71
  }
72
  }
73
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
70
  return TRUE;
71
  }
72
  }
73
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/Model/Ordermappings.php CHANGED
@@ -54,4 +54,4 @@ class Trustly_Trustly_Model_Ordermappings extends Mage_Core_Model_Abstract
54
  return $this->getResource()->unlockIncrementAfterProcessing($incrementId, $lockid);
55
  }
56
  }
57
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
54
  return $this->getResource()->unlockIncrementAfterProcessing($incrementId, $lockid);
55
  }
56
  }
57
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/Model/Standard.php CHANGED
@@ -225,9 +225,14 @@ class Trustly_Trustly_Model_Standard extends Mage_Payment_Model_Method_Abstract
225
  $orderMapping = Mage::getModel('trustly/ordermappings');
226
  $omData = array(
227
  'trustly_order_id' => $trustlyOrderId,
228
- 'magento_increment_id' => $incrementId,
229
- 'datestamp' => Varien_Date::now(),
230
  );
 
 
 
 
 
 
231
  $orderMapping->setData($omData);
232
  $orderMapping->save();
233
  Mage::log("Saved mapping between Trustly orderid $trustlyOrderId and increment id $incrementId", Zend_Log::INFO, self::LOG_FILE);
@@ -253,4 +258,4 @@ class Trustly_Trustly_Model_Standard extends Mage_Payment_Model_Method_Abstract
253
  return false;
254
  }
255
  }
256
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
225
  $orderMapping = Mage::getModel('trustly/ordermappings');
226
  $omData = array(
227
  'trustly_order_id' => $trustlyOrderId,
228
+ 'magento_increment_id' => $incrementId
 
229
  );
230
+ /* Varien_Date::now() does not exist in Magento 1.5 */
231
+ if(function_exists('Varien_Date::now')) {
232
+ $omData['datestamp'] = Varien_Date::now();
233
+ } else {
234
+ $omData['datestamp'] = now();
235
+ }
236
  $orderMapping->setData($omData);
237
  $orderMapping->save();
238
  Mage::log("Saved mapping between Trustly orderid $trustlyOrderId and increment id $incrementId", Zend_Log::INFO, self::LOG_FILE);
258
  return false;
259
  }
260
  }
261
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/controllers/PaymentController.php CHANGED
@@ -702,4 +702,4 @@ class Trustly_Trustly_PaymentController extends Mage_Core_Controller_Front_Actio
702
  return false;
703
  }
704
  }
705
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
702
  return false;
703
  }
704
  }
705
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/etc/config.xml CHANGED
@@ -105,7 +105,7 @@
105
  <trustly>
106
  <active>0</active>
107
  <model>trustly/standard</model>
108
- <title>Trustly - Direct banking</title>
109
  <urltrustly>0</urltrustly>
110
  <allowspecific>0</allowspecific>
111
  <sendmailorderconfirmation>1</sendmailorderconfirmation>
105
  <trustly>
106
  <active>0</active>
107
  <model>trustly/standard</model>
108
+ <title>Trustly - Instant bank payment</title>
109
  <urltrustly>0</urltrustly>
110
  <allowspecific>0</allowspecific>
111
  <sendmailorderconfirmation>1</sendmailorderconfirmation>
app/code/community/Trustly/Trustly/etc/system.xml CHANGED
@@ -4,7 +4,7 @@
4
  <payment>
5
  <groups>
6
  <trustly translate="label" module="trustly">
7
- <label>Trustly - Direct banking</label>
8
  <frontend_type>text</frontend_type>
9
  <sort_order>1</sort_order>
10
  <show_in_default>1</show_in_default>
4
  <payment>
5
  <groups>
6
  <trustly translate="label" module="trustly">
7
+ <label>Trustly - Instant bank payment</label>
8
  <frontend_type>text</frontend_type>
9
  <sort_order>1</sort_order>
10
  <show_in_default>1</show_in_default>
app/code/community/Trustly/Trustly/lib/README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Trustly PHP Client
2
+ =====================
3
+
4
+ This is an example implementation of communication with the Trustly API using
5
+ PHP. It implements the standard Payments API as well as gives stubs for
6
+ executing calls against the API used by the backoffice.
7
+
8
+ For full documentation on the Trustly API internals visit our developer
9
+ website: http://trustly.com/developer . All information about software flows and
10
+ call patters can be found on that site. The documentation within this code will
11
+ only cover the code itself, not how you use the Trustly API.
12
+
13
+ This code is provided as-is, use it as inspiration, reference or drop it
14
+ directly into your own project and use it.
15
+
16
+ If you find problem in the code or want to extend it feel free to fork it and send us
17
+ a pull request.
18
+
19
+ This code is written for PHP 5.5. Requires the following modules for working: bcmath,
20
+ openssl, curl, mbstring and json.
21
+
22
+ Overview
23
+ ========
24
+
25
+ The code provided wrappers for calling the trustly API. Create an instance of
26
+ the API call with you merchant criterias and use the stubs in that class for
27
+ calling the API. The API will default to communicate with https://trustly.com,
28
+ override the `host` parameter for the constructor to comminicate with
29
+ test.trustly.com instead.
30
+
31
+ When processing an incoming notification the `handleNotification()` method of the
32
+ API will help with parsing and verifying the message signature, use `notificationResponse()`
33
+ to build a proper response object
34
+
35
+ The examples below represent a very basic usage of the calls. A minimum of error
36
+ handling around this code would be to check for the following exceptions during
37
+ processing.
38
+
39
+ - `Trustly_ConnectionException`
40
+
41
+ Thrown when unable to communicate with the Trustly API. This can be due to
42
+ Internet or other forms of service errors.
43
+
44
+ - `Trustly_DataException`
45
+
46
+ Thrown upon various problems with the API returned data. For instance when a
47
+ responding message contains a different UUID then the sent message or when the
48
+ response structure is incomplete.
49
+
50
+ - `Trustly_SignatureException`
51
+
52
+ Issued when the authenticity of messages cannot be verified. If ever this
53
+ exception is caught the data in the communication should be voided as it can be
54
+ a forgery.
55
+
56
+ Example deposit call
57
+ --------------------
58
+
59
+ require_once('Trustly.php');
60
+
61
+ $api = new Trustly_Api_Signed('/opt/application/private.pem', 'username', 'password');
62
+
63
+ $deposit = $api->deposit(
64
+ 'https://example.com/trustlynotification',
65
+ 'user@email.com',
66
+ 'abb424decb1',
67
+ 'sv_SE',
68
+ '12.34',
69
+ 'EUR',
70
+ 'SE',
71
+ '+460812345678',
72
+ 'John',
73
+ 'Doe',
74
+ 'SE770807-5622',
75
+ NULL
76
+ );
77
+
78
+ $iframe_url= $deposit->getData('url');
79
+
80
+ Example notification processing
81
+ -------------------------------
82
+
83
+ $request = $api->handleNotification($notification_body);
84
+ # FIXME Handle the incoming notification data here
85
+ $notifyresponse = $api->notificationResponse($request, TRUE);
86
+
87
+ echo $notifyresponse->json();
88
+
89
+ Example implementation
90
+ ----------------------
91
+
92
+ In the example/ subdirectory is a simple implementation of a client that uses
93
+ the code to make a deposit call to Trustly and processes incoming
94
+ notifications. The code is well commented and contains information about what
95
+ to calls that needs to be made and some caveats while doing so.
96
+
97
+ The code is runnable on Linux/OSX with Apache v2.2/2.4. Use the
98
+ `example/example.sh` script to control the example environment. You need to
99
+ amend `example/www/php/example.php` and `example/example.private.pem` to
100
+ contain your processing account information before giving it a test spin.
app/code/community/Trustly/Trustly/lib/Trustly.php CHANGED
@@ -36,5 +36,5 @@ require_once('Trustly/Data/jsonrpcnotificationresponse.php');
36
  require_once('Trustly/Api/api.php');
37
  require_once('Trustly/Api/signed.php');
38
  require_once('Trustly/Api/unsigned.php');
39
- require_once('Trustly/Api/ecommerce.php');
40
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
36
  require_once('Trustly/Api/api.php');
37
  require_once('Trustly/Api/signed.php');
38
  require_once('Trustly/Api/unsigned.php');
39
+
40
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Api/api.php CHANGED
@@ -312,4 +312,4 @@ abstract class Trustly_Api {
312
  abstract public function insertCredentials($request);
313
 
314
  }
315
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
312
  abstract public function insertCredentials($request);
313
 
314
  }
315
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Api/ecommerce.php DELETED
@@ -1,168 +0,0 @@
1
- <?php
2
- /**
3
- * The MIT License (MIT)
4
- *
5
- * Copyright (c) 2014 Trustly Group AB
6
- *
7
- * Permission is hereby granted, free of charge, to any person obtaining a copy
8
- * of this software and associated documentation files (the "Software"), to deal
9
- * in the Software without restriction, including without limitation the rights
10
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- * copies of the Software, and to permit persons to whom the Software is
12
- * furnished to do so, subject to the following conditions:
13
- *
14
- * The above copyright notice and this permission notice shall be included in
15
- * all copies or substantial portions of the Software.
16
- *
17
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
- * THE SOFTWARE.
24
- */
25
-
26
- class Trustly_Api_ECommerce extends Trustly_Api {
27
- var $api_apikey = NULL;
28
-
29
- public function __construct($host, $port, $is_https, $apikey) {
30
- parent::__construct($host, $port, $is_https);
31
-
32
- $this->api_apikey = $apikey;
33
- }
34
-
35
- public function urlPath($request=NULL) {
36
- $url = '/api/ECom';
37
-
38
- if(isset($request)) {
39
- $method = $request->getMethod();
40
- if(isset($method)) {
41
- $url .= '/' . $method;
42
- }
43
- }
44
- return $url;
45
- }
46
-
47
- public function verifyTrustlySignedResponse($response) {
48
- $method = $response->getMethod();
49
- $uuid = $response->getUUID();
50
- $signature = $response->getSignature();
51
- $data = $response->getResult();
52
-
53
- /* As the data in the ecommerce responses are flat, all the uuid,
54
- * signatures, method information is on the same level as the data
55
- * response. Remove theese from the data before checking the signature. */
56
- unset($data['uuid']);
57
- unset($data['signature']);
58
- unset($data['method']);
59
-
60
- return $this->verifyTrustlySignedData($method, $uuid, $signature, $data);
61
- }
62
-
63
- public function handleResponse($request, $body, $curl) {
64
- $response = new Trustly_Data_Response($body, $curl);
65
-
66
- if($this->verifyTrustlySignedResponse($response) !== TRUE) {
67
- throw new Trustly_SignatureException('Incomming message signature is not valid', $response);
68
- }
69
-
70
- return $response;
71
- }
72
-
73
- public function insertCredentials($request) {
74
- $request->set('apikey', $this->api_apikey);
75
- return TRUE;
76
- }
77
-
78
- /* Build an orderline suitable for the payment call using the supplied
79
- * information. Call once for each line of the order and stuff into an
80
- * array that is later supplied to the pay() call.
81
- *
82
- * Typically:
83
- * $orderlines = array();
84
- * $orderlines[] = $api->createOrderline(...);
85
- * $orderlines[] = $api->createOrderline(...);
86
- * ...
87
- * $result = $api->pay(..., $orderlines);
88
- * */
89
- public function createOrderline($description=NULL, $amount=NULL,
90
- $currency=NULL, $vat=NULL, $quantity=1, $eancode=NULL) {
91
-
92
- $orderline = array();
93
-
94
- if(isset($description) && strlen($description)) {
95
- $orderline['description'] = Trustly_Data::ensureUTF8($description);
96
- }
97
- if(isset($amount)) {
98
- $orderline['amount'] = Trustly_Data::ensureUTF8($amount);
99
- }
100
- if(isset($currency) && strlen($currency)) {
101
- $orderline['currency'] = Trustly_Data::ensureUTF8($currency);
102
- }
103
- if(isset($vat)) {
104
- $orderline['vat'] = Trustly_Data::ensureUTF8($vat);
105
- }
106
- if(isset($quantity)) {
107
- $orderline['quantity'] = Trustly_Data::ensureUTF8($quantity);
108
- }
109
- if(isset($eancode) && strlen($eancode)) {
110
- $orderline['eancode'] = Trustly_Data::ensureUTF8($eancode);
111
- }
112
-
113
- /* No point in adding a orderline unless we have any usable data */
114
- if(count($orderline) == 0) {
115
- return NULL;
116
- }
117
-
118
- return $orderline;
119
- }
120
-
121
- public function pay($notificationurl, $enduserid, $messageid,
122
- $locale=NULL, $amount=NULL, $currency=NULL, $country=NULL, $host=NULL,
123
- $returnurl=NULL, $templateurl=NULL, $urltarget=NULL,
124
- $email=NULL, $firstname=NULL, $lastname=NULL, $integrationmodule=NULL,
125
- $orderlines=NULL) {
126
-
127
- $request = new Trustly_Data_Request('Pay',
128
- array(
129
- 'notificationurl' => $notificationurl,
130
- 'enduserid' => $enduserid,
131
- 'messageid' => $messageid,
132
- 'locale' => $locale,
133
- 'amount' => $amount,
134
- 'currency' => $currency,
135
- 'country' => $country,
136
- 'host' => $host,
137
- 'returnurl' => $returnurl,
138
- 'templateurl' => $templateurl,
139
- 'urltarget' => $urltarget,
140
- 'email' => $email,
141
- 'firstname' => $firstname,
142
- 'lastname' => $lastname,
143
- 'orderline' => $orderlines,
144
- 'integrationmodule' => $integrationmodule
145
- )
146
- );
147
- return $this->call($request);
148
- }
149
-
150
- public function repay($orderid, $amount, $currency) {
151
-
152
- $request = new Trustly_Data_Request('Repay',
153
- array(
154
- 'orderid' => $orderid,
155
- 'amount' => $amount,
156
- 'currency' => $currency
157
- )
158
- );
159
-
160
- return $this->call($request);
161
- }
162
-
163
- public function hello() {
164
- $request = new Trustly_Data_Request('Hello');
165
- return $this->call($request);
166
- }
167
- }
168
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Trustly/Trustly/lib/Trustly/Api/signed.php CHANGED
@@ -160,7 +160,7 @@ class Trustly_Api_Signed extends Trustly_Api {
160
  $nationalidentificationnumber=NULL, $shopperstatement=NULL,
161
  $ip=NULL, $successurl=NULL, $failurl=NULL, $templateurl=NULL,
162
  $urltarget=NULL, $suggestedminamount=NULL, $suggestedmaxamount=NULL,
163
- $integrationmodule=NULL) {
164
 
165
  $data = array(
166
  'NotificationURL' => $notificationurl,
@@ -188,6 +188,10 @@ class Trustly_Api_Signed extends Trustly_Api {
188
  'IntegrationModule' => $integrationmodule
189
  );
190
 
 
 
 
 
191
  $request = new Trustly_Data_JSONRPCRequest('Deposit', $data, $attributes);
192
  return $this->call($request);
193
  }
@@ -210,7 +214,7 @@ class Trustly_Api_Signed extends Trustly_Api {
210
  $locale=NULL, $currency=NULL, $country=NULL,
211
  $mobilephone=NULL, $firstname=NULL, $lastname=NULL,
212
  $nationalidentificationnumber=NULL, $clearinghouse=NULL,
213
- $banknumber=NULL, $accountnumber=NULL) {
214
 
215
  $data = array(
216
  'NotificationURL' => $notificationurl,
@@ -232,6 +236,10 @@ class Trustly_Api_Signed extends Trustly_Api {
232
  'AccountNumber' => $accountnumber,
233
  );
234
 
 
 
 
 
235
  $request = new Trustly_Data_JSONRPCRequest('Withdraw', $data, $attributes);
236
  return $this->call($request);
237
  }
@@ -261,7 +269,7 @@ class Trustly_Api_Signed extends Trustly_Api {
261
  /* Make a select account call */
262
  public function selectAccount($notificationurl, $enduserid, $messageid,
263
  $locale=NULL, $country=NULL, $ip=NULL, $successurl=NULL, $urltarget=NULL,
264
- $mobilephone=NULL, $firstname=NULL, $lastname=NULL) {
265
 
266
  $data = array(
267
  'NotificationURL' => $notificationurl,
@@ -280,6 +288,10 @@ class Trustly_Api_Signed extends Trustly_Api {
280
  'Lastname' => $lastname,
281
  );
282
 
 
 
 
 
283
  $request = new Trustly_Data_JSONRPCRequest('SelectAccount', $data, $attributes);
284
  return $this->call($request);
285
  }
@@ -308,7 +320,7 @@ class Trustly_Api_Signed extends Trustly_Api {
308
  }
309
 
310
  public function accountPayout($notificationurl, $accountid, $enduserid,
311
- $messageid, $amount, $currency) {
312
 
313
  $data = array(
314
  'NotificationURL' => $notificationurl,
@@ -322,6 +334,10 @@ class Trustly_Api_Signed extends Trustly_Api {
322
  $attributes = array(
323
  );
324
 
 
 
 
 
325
  $request = new Trustly_Data_JSONRPCRequest('AccountPayout', $data, $attributes);
326
  return $this->call($request);
327
  }
@@ -330,7 +346,7 @@ class Trustly_Api_Signed extends Trustly_Api {
330
  $authorizeonly=NULL, $templatedata=NULL, $successurl=NULL,
331
  $method=NULL, $lastname=NULL, $firstname=NULL, $urltarget=NULL,
332
  $locale=NULL, $amount=NULL, $currency=NULL, $templateurl=NULL,
333
- $displaycurrency=NULL) {
334
 
335
  $data = array(
336
  'NotificationURL' => $notificationurl,
@@ -356,6 +372,10 @@ class Trustly_Api_Signed extends Trustly_Api {
356
  'IP' => $ip
357
  );
358
 
 
 
 
 
359
  $request = new Trustly_Data_JSONRPCRequest('P2P', $data, $attributes);
360
  return $this->call($request);
361
  }
@@ -394,4 +414,4 @@ class Trustly_Api_Signed extends Trustly_Api {
394
  return $api->hello();
395
  }
396
  }
397
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
160
  $nationalidentificationnumber=NULL, $shopperstatement=NULL,
161
  $ip=NULL, $successurl=NULL, $failurl=NULL, $templateurl=NULL,
162
  $urltarget=NULL, $suggestedminamount=NULL, $suggestedmaxamount=NULL,
163
+ $integrationmodule=NULL, $holdnotifications=NULL) {
164
 
165
  $data = array(
166
  'NotificationURL' => $notificationurl,
188
  'IntegrationModule' => $integrationmodule
189
  );
190
 
191
+ if(isset($holdnotifications)) {
192
+ $attributes['HoldNotifications'] = 1;
193
+ }
194
+
195
  $request = new Trustly_Data_JSONRPCRequest('Deposit', $data, $attributes);
196
  return $this->call($request);
197
  }
214
  $locale=NULL, $currency=NULL, $country=NULL,
215
  $mobilephone=NULL, $firstname=NULL, $lastname=NULL,
216
  $nationalidentificationnumber=NULL, $clearinghouse=NULL,
217
+ $banknumber=NULL, $accountnumber=NULL, $holdnotifications=NULL) {
218
 
219
  $data = array(
220
  'NotificationURL' => $notificationurl,
236
  'AccountNumber' => $accountnumber,
237
  );
238
 
239
+ if(isset($holdnotifications)) {
240
+ $attributes['HoldNotifications'] = 1;
241
+ }
242
+
243
  $request = new Trustly_Data_JSONRPCRequest('Withdraw', $data, $attributes);
244
  return $this->call($request);
245
  }
269
  /* Make a select account call */
270
  public function selectAccount($notificationurl, $enduserid, $messageid,
271
  $locale=NULL, $country=NULL, $ip=NULL, $successurl=NULL, $urltarget=NULL,
272
+ $mobilephone=NULL, $firstname=NULL, $lastname=NULL, $holdnotifications=NULL) {
273
 
274
  $data = array(
275
  'NotificationURL' => $notificationurl,
288
  'Lastname' => $lastname,
289
  );
290
 
291
+ if(isset($holdnotifications)) {
292
+ $attributes['HoldNotifications'] = 1;
293
+ }
294
+
295
  $request = new Trustly_Data_JSONRPCRequest('SelectAccount', $data, $attributes);
296
  return $this->call($request);
297
  }
320
  }
321
 
322
  public function accountPayout($notificationurl, $accountid, $enduserid,
323
+ $messageid, $amount, $currency, $holdnotifications=NULL) {
324
 
325
  $data = array(
326
  'NotificationURL' => $notificationurl,
334
  $attributes = array(
335
  );
336
 
337
+ if(isset($holdnotifications)) {
338
+ $attributes['HoldNotifications'] = 1;
339
+ }
340
+
341
  $request = new Trustly_Data_JSONRPCRequest('AccountPayout', $data, $attributes);
342
  return $this->call($request);
343
  }
346
  $authorizeonly=NULL, $templatedata=NULL, $successurl=NULL,
347
  $method=NULL, $lastname=NULL, $firstname=NULL, $urltarget=NULL,
348
  $locale=NULL, $amount=NULL, $currency=NULL, $templateurl=NULL,
349
+ $displaycurrency=NULL, $holdnotifications=NULL) {
350
 
351
  $data = array(
352
  'NotificationURL' => $notificationurl,
372
  'IP' => $ip
373
  );
374
 
375
+ if(isset($holdnotifications)) {
376
+ $attributes['HoldNotifications'] = 1;
377
+ }
378
+
379
  $request = new Trustly_Data_JSONRPCRequest('P2P', $data, $attributes);
380
  return $this->call($request);
381
  }
414
  return $api->hello();
415
  }
416
  }
417
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Api/unsigned.php CHANGED
@@ -135,4 +135,4 @@ class Trustly_Api_Unsigned extends Trustly_Api {
135
  return $response;
136
  }
137
  }
138
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
135
  return $response;
136
  }
137
  }
138
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/data.php CHANGED
@@ -128,4 +128,4 @@ class Trustly_Data {
128
  }
129
 
130
  }
131
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
128
  }
129
 
130
  }
131
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcnotificationrequest.php CHANGED
@@ -84,4 +84,4 @@ class Trustly_Data_JSONRPCNotificationRequest extends Trustly_Data {
84
  return $this->get('version');
85
  }
86
  }
87
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
84
  return $this->get('version');
85
  }
86
  }
87
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcnotificationresponse.php CHANGED
@@ -122,4 +122,4 @@ class Trustly_Data_JSONRPCNotificationResponse extends Trustly_Data {
122
  return $this->getResult('uuid');
123
  }
124
  }
125
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
122
  return $this->getResult('uuid');
123
  }
124
  }
125
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcrequest.php CHANGED
@@ -147,4 +147,4 @@ class Trustly_Data_JSONRPCRequest extends Trustly_Data_Request {
147
  return NULL;
148
  }
149
  }
150
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
147
  return NULL;
148
  }
149
  }
150
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcresponse.php CHANGED
@@ -72,4 +72,4 @@ class Trustly_Data_JSONRPCResponse extends Trustly_Data_Response {
72
  return NULL;
73
  }
74
  }
75
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
72
  return NULL;
73
  }
74
  }
75
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/jsonrpcsignedresponse.php CHANGED
@@ -99,4 +99,4 @@ class Trustly_Data_JSONRPCSignedResponse extends Trustly_Data_JSONRPCResponse {
99
  return NULL;
100
  }
101
  }
102
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
99
  return NULL;
100
  }
101
  }
102
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/request.php CHANGED
@@ -53,4 +53,4 @@ class Trustly_Data_Request extends Trustly_Data {
53
  $this->method = $method;
54
  }
55
  }
56
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
53
  $this->method = $method;
54
  }
55
  }
56
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/Data/response.php CHANGED
@@ -128,4 +128,4 @@ class Trustly_Data_Response extends Trustly_Data {
128
  return NULL;
129
  }
130
  }
131
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
128
  return NULL;
129
  }
130
  }
131
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/Trustly/exceptions.php CHANGED
@@ -43,4 +43,4 @@ class Trustly_DataException extends Exception { }
43
 
44
  class Trustly_AuthentificationException extends Exception { }
45
 
46
- /* vim: set noet cindent ts=4 ts=4 sw=4: */
43
 
44
  class Trustly_AuthentificationException extends Exception { }
45
 
46
+ /* vim: set noet cindent sts=4 ts=4 sw=4: */
app/code/community/Trustly/Trustly/lib/composer.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "trustly/trustly-client-php",
3
+ "description": "Implementation of communications with Trustly public API for Online bank e-payments. See https://trustly.com for more information",
4
+ "type": "library",
5
+ "homepage": "http://github.com/trustly/trustly-client-php",
6
+ "licence": "MIT",
7
+ "keywords": [
8
+ "payment",
9
+ "trustly"
10
+ ],
11
+ "require": {
12
+ "ext-json": "*",
13
+ "ext-bcmath": "*",
14
+ "ext-openssl": "*",
15
+ "ext-curl": "*",
16
+ "ext-mbstring": "*",
17
+ "php": ">=5.2.0"
18
+ }
19
+ }
app/code/community/Trustly/Trustly/sql/trustly_setup/{install-2.0.4.php → install-2.0.11.php} RENAMED
File without changes
app/code/community/Trustly/Trustly/sql/trustly_setup/mysql4-install-2.0.10.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+
4
+ $installer->run("
5
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('trustly/ordermappings')}` (
6
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
7
+ `trustly_order_id` varchar(20) NOT NULL,
8
+ `magento_increment_id` bigint(20) UNSIGNED,
9
+ `datestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
10
+ `lock_timestamp` timestamp NULL,
11
+ `lock_id` int(10) unsigned NULL,
12
+ PRIMARY KEY (`id`),
13
+ INDEX index_trustly_ordermapping_presta_cartid (`trustly_order_id`)
14
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
15
+ ");
app/design/frontend/base/default/template/trustly/form.phtml CHANGED
@@ -3,6 +3,6 @@
3
  </fieldset>
4
  <div id="payment_form_<?php echo $_code ?>" style="display:none;">
5
  <p class="trustly_title" style="padding-left: 20px; padding-top: 8px; ">
6
- <?php echo $this->helper('trustly')->__('Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It\'s fast, easy and secure!') ?>
7
  </p>
8
  </div>
3
  </fieldset>
4
  <div id="payment_form_<?php echo $_code ?>" style="display:none;">
5
  <p class="trustly_title" style="padding-left: 20px; padding-top: 8px; ">
6
+ <?php echo $this->helper('trustly')->__('Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.') ?>
7
  </p>
8
  </div>
app/design/frontend/base/default/template/trustly/iframe.phtml CHANGED
@@ -1,5 +1,5 @@
1
  <div class="page-title">
2
- <h1><?php echo Mage::helper('trustly')->__('Direct banking') ?></h1>
3
  </div>
4
  <p class="trustly_image"><img src="https://static.trustly.com/logotype/footer/trustly_140.png" alt="Trustly" /><p>
5
 
1
  <div class="page-title">
2
+ <h1><?php echo Mage::helper('trustly')->__('Instant bank payment. Free. No registration.') ?></h1>
3
  </div>
4
  <p class="trustly_image"><img src="https://static.trustly.com/logotype/footer/trustly_140.png" alt="Trustly" /><p>
5
 
app/design/frontend/base/default/template/trustly/mark.phtml CHANGED
@@ -1,5 +1,5 @@
1
  <img src="https://static.trustly.com/logotype/checkout/trustly_73.png" alt="<?php echo Mage::helper('trustly')->__('Trustly') ?>" class="v-middle" />&nbsp;
2
  <span style="position: relative; top: 3px;">
3
- <?php echo $this->__('Direct banking') ?>
4
- <a style="margin-left: 5px;" href="<?php echo $this->getPaymentAcceptanceMarkHref()?>" onclick="javascript:window.open('<?php echo $this->getPaymentAcceptanceMarkHref()?>','whatistrustly','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=0, top=0, width=400, height=350'); return false;"><?php echo Mage::helper('trustly')->__('What is Trustly?') ?></a>
5
  </span>
1
  <img src="https://static.trustly.com/logotype/checkout/trustly_73.png" alt="<?php echo Mage::helper('trustly')->__('Trustly') ?>" class="v-middle" />&nbsp;
2
  <span style="position: relative; top: 3px;">
3
+ <?php echo $this->__('Instant bank payment. Free. No registration.') ?>
4
+ <a style="margin-left: 5px;" href="<?php echo $this->getPaymentAcceptanceMarkHref()?>" onclick="javascript:window.open('<?php echo $this->getPaymentAcceptanceMarkHref()?>','whatistrustly','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=0, top=0, width=970, height=725'); return false;"><?php echo Mage::helper('trustly')->__('What is Trustly?') ?></a>
5
  </span>
app/locale/da_DK/Trustly_Trustly.csv CHANGED
@@ -10,25 +10,26 @@
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
13
- "Direct banking", "Netbank betalinger"
14
  "Error processing Trustly communication.","Error processing Trustly communication."
15
- "Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor","Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor"
16
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
17
  "Failed to display the payment method.","Failed to display the payment method."
 
 
18
  "Invalid payment.","Invalid payment."
19
- "Invoiced from Trustly payment","Invoiced from Trustly payment"
20
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
21
  "Invoice: %s","Invoice: %s"
22
- "It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly.","It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly."
23
- "New payment method!","New payment method!"
24
  "Notification id: %s","Notification id: %s"
25
  "Payment amount: %s %s","Payment amount: %s %s"
26
  "Payment failed, debit received.","Payment failed, debit received."
27
  "Pending payment.","Pending payment."
28
- "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!", "Trustly er en betalingsmetode, der gør det muligt for dig at betale med din netbank. Det eneste du har brug for er dine almindelige brugeroplysninger. Det er hurtigt, nemt og sikkert!"
29
  "Trustly orderid: %s","Trustly orderid: %s"
30
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
31
  "Trustly payment","Trustly payment"
32
  "Trustly","Trustly"
 
33
  "Unable to set payment method.","Unable to set payment method."
 
 
34
  "What is Trustly?","Hvad er Trustly?"
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
 
13
  "Error processing Trustly communication.","Error processing Trustly communication."
 
14
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
15
  "Failed to display the payment method.","Failed to display the payment method."
16
+ "Instant bank payment. Free. No registration.", "Øjeblikkelig bankoverførsel. Intet gebyr. Ingen tilmelding."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Øjeblikkelig bankoverførsel via nettet. Omfatter alle danske banker. Intet gebyr. Du bruger dit normale banklogin."
18
  "Invalid payment.","Invalid payment."
 
19
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
20
  "Invoice: %s","Invoice: %s"
21
+ "Invoiced from Trustly payment","Invoiced from Trustly payment"
 
22
  "Notification id: %s","Notification id: %s"
23
  "Payment amount: %s %s","Payment amount: %s %s"
24
  "Payment failed, debit received.","Payment failed, debit received."
25
  "Pending payment.","Pending payment."
26
+ "Trustly order has been canceled.", "Trustly order has been canceled."
27
  "Trustly orderid: %s","Trustly orderid: %s"
28
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
29
  "Trustly payment","Trustly payment"
30
  "Trustly","Trustly"
31
+ "Unable to cancel Trustly order.", "Unable to cancel Trustly order."
32
  "Unable to set payment method.","Unable to set payment method."
33
+ "Use order currency", "Use order currency"
34
+ "Use the currency the user has selected in the store when placing the order rather then the store base currency.", "Use the currency the user has selected in the store when placing the order rather then the store base currency."
35
  "What is Trustly?","Hvad er Trustly?"
app/locale/en_US/Trustly_Trustly.csv CHANGED
@@ -10,22 +10,19 @@
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
13
- "Direct banking", "Direct banking"
14
  "Error processing Trustly communication.","Error processing Trustly communication."
15
- "Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor","Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor"
16
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
17
  "Failed to display the payment method.","Failed to display the payment method."
 
 
18
  "Invalid payment.","Invalid payment."
19
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
20
  "Invoice: %s","Invoice: %s"
21
  "Invoiced from Trustly payment","Invoiced from Trustly payment"
22
- "It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly.","It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly."
23
- "New payment method!","New payment method!"
24
  "Notification id: %s","Notification id: %s"
25
  "Payment amount: %s %s","Payment amount: %s %s"
26
  "Payment failed, debit received.","Payment failed, debit received."
27
  "Pending payment.","Pending payment."
28
- "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!", "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!"
29
  "Trustly order has been canceled.", "Trustly order has been canceled."
30
  "Trustly orderid: %s","Trustly orderid: %s"
31
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
 
13
  "Error processing Trustly communication.","Error processing Trustly communication."
 
14
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
15
  "Failed to display the payment method.","Failed to display the payment method."
16
+ "Instant bank payment. Free. No registration.", "Instant bank payment. Free. No registration."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login."
18
  "Invalid payment.","Invalid payment."
19
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
20
  "Invoice: %s","Invoice: %s"
21
  "Invoiced from Trustly payment","Invoiced from Trustly payment"
 
 
22
  "Notification id: %s","Notification id: %s"
23
  "Payment amount: %s %s","Payment amount: %s %s"
24
  "Payment failed, debit received.","Payment failed, debit received."
25
  "Pending payment.","Pending payment."
 
26
  "Trustly order has been canceled.", "Trustly order has been canceled."
27
  "Trustly orderid: %s","Trustly orderid: %s"
28
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
app/locale/es_ES/Trustly_Trustly.csv CHANGED
@@ -10,22 +10,19 @@
10
  "Credit memo has been created automatically","La nota de crédito ha sido creado de forma automática"
11
  "Date of transaction: %s", "Fecha de operación: %s"
12
  "Debit amount: %s %s","Cantidad abonada: %s %s"
13
- "Direct banking", "Transferencia online"
14
  "Error processing Trustly communication.", "Error en el proceso."
15
- "Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor", "Ejemplos de bancos disponibles con Trustly: <br /> BBVA, Santander, La Caixa, Bankia, Sabadell, Banco Popular y Banco Pastor."
16
  "Failed to communicate with Trustly.","Error al comunicarse con Trustly."
17
  "Failed to display the payment method.", "Ha ocurrido un error al mostrar el m&eacute;todo de pago."
 
 
18
  "Invalid payment.", "Pago no v&aacute;lido."
19
  "Invoice for Trustly OrderId #%s created","Factura para la OrderId #%s de Trustly creada"
20
  "Invoice: %s","Factura: %s"
21
  "Invoiced from Trustly payment","Facturado con Trustly"
22
- "It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly.", "Servicio gratuito y sin necesidad de registrarse. Necesitas tus datos de acceso a tu banca online para pagar con Trustly."
23
- "New payment method!", "&iexcl;Nuevo m&eacute;todo de pago!"
24
  "Notification id: %s","Identificador de la notificación: %s"
25
  "Payment amount: %s %s", "Cantidad transferida: %s %s"
26
  "Payment failed, debit received.","Error en el pago, abono recibido."
27
  "Pending payment.","Pago pendiente."
28
- "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!", "Trustly es el método de pago seguro que te permite pagar directamente desde tu banca online. Todo lo que necesitas son las contraseñas habituales de tu cuenta. ¡Es fácil, rapido y seguro!"
29
  "Trustly order has been canceled.", "Para Trustly ha sido cancelada."
30
  "Trustly orderid: %s","Trustly orderid: %s"
31
  "Trustly payment module has not been configured.","El módulo de pago de Trustly no se ha configurado."
@@ -33,4 +30,6 @@
33
  "Trustly","Trustly"
34
  "Unable to cancel Trustly order.", "No puede cancelar la orden Trustly."
35
  "Unable to set payment method.","No se puede establecer la forma de pago."
 
 
36
  "What is Trustly?", "¿Qué es Trustly?"
10
  "Credit memo has been created automatically","La nota de crédito ha sido creado de forma automática"
11
  "Date of transaction: %s", "Fecha de operación: %s"
12
  "Debit amount: %s %s","Cantidad abonada: %s %s"
 
13
  "Error processing Trustly communication.", "Error en el proceso."
 
14
  "Failed to communicate with Trustly.","Error al comunicarse con Trustly."
15
  "Failed to display the payment method.", "Ha ocurrido un error al mostrar el m&eacute;todo de pago."
16
+ "Instant bank payment. Free. No registration.", "Pago inmediato. Gratis. Sin registro."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Pago en línea inmediato. Admite todos los bancos de España. Sin coste. Use los datos con los que accede a su banco habitualmente."
18
  "Invalid payment.", "Pago no v&aacute;lido."
19
  "Invoice for Trustly OrderId #%s created","Factura para la OrderId #%s de Trustly creada"
20
  "Invoice: %s","Factura: %s"
21
  "Invoiced from Trustly payment","Facturado con Trustly"
 
 
22
  "Notification id: %s","Identificador de la notificación: %s"
23
  "Payment amount: %s %s", "Cantidad transferida: %s %s"
24
  "Payment failed, debit received.","Error en el pago, abono recibido."
25
  "Pending payment.","Pago pendiente."
 
26
  "Trustly order has been canceled.", "Para Trustly ha sido cancelada."
27
  "Trustly orderid: %s","Trustly orderid: %s"
28
  "Trustly payment module has not been configured.","El módulo de pago de Trustly no se ha configurado."
30
  "Trustly","Trustly"
31
  "Unable to cancel Trustly order.", "No puede cancelar la orden Trustly."
32
  "Unable to set payment method.","No se puede establecer la forma de pago."
33
+ "Use order currency", "Use order currency"
34
+ "Use the currency the user has selected in the store when placing the order rather then the store base currency.", "Use the currency the user has selected in the store when placing the order rather then the store base currency."
35
  "What is Trustly?", "¿Qué es Trustly?"
app/locale/et_EE/Trustly_Trustly.csv CHANGED
@@ -10,25 +10,26 @@
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
13
- "Direct banking", "Otsepangandus"
14
  "Error processing Trustly communication.","Error processing Trustly communication."
15
- "Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor","Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor"
16
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
17
  "Failed to display the payment method.","Failed to display the payment method."
 
 
18
  "Invalid payment.","Invalid payment."
19
- "Invoiced from Trustly payment","Invoiced from Trustly payment"
20
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
21
  "Invoice: %s","Invoice: %s"
22
- "It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly.","It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly."
23
- "New payment method!","New payment method!"
24
  "Notification id: %s","Notification id: %s"
25
  "Payment amount: %s %s","Payment amount: %s %s"
26
  "Payment failed, debit received.","Payment failed, debit received."
27
  "Pending payment.","Pending payment."
28
- "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!", "Trustly on maksemeetod, mis võimaldab teil oma internetipanga kontolt otse maksta. Kõik, mida vajate, on internetipanga tavalised kasutajatunnused. See on kiire, lihtne ja turvaline!"
29
  "Trustly orderid: %s","Trustly orderid: %s"
30
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
31
  "Trustly payment","Trustly payment"
32
  "Trustly","Trustly"
 
33
  "Unable to set payment method.","Unable to set payment method."
 
 
34
  "What is Trustly?","Mis on Trustly?"
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
 
13
  "Error processing Trustly communication.","Error processing Trustly communication."
 
14
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
15
  "Failed to display the payment method.","Failed to display the payment method."
16
+ "Instant bank payment. Free. No registration.", "Kohene pangamakse. Tasuta. Registreerimine ei ole vajalik."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Kohene pangamakse online. Toimib kõigi Eestis tegutsevate pankadega. Tasuta. Kasutage oma tavalisi panga sisselogimisandmeid."
18
  "Invalid payment.","Invalid payment."
 
19
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
20
  "Invoice: %s","Invoice: %s"
21
+ "Invoiced from Trustly payment","Invoiced from Trustly payment"
 
22
  "Notification id: %s","Notification id: %s"
23
  "Payment amount: %s %s","Payment amount: %s %s"
24
  "Payment failed, debit received.","Payment failed, debit received."
25
  "Pending payment.","Pending payment."
26
+ "Trustly order has been canceled.", "Trustly order has been canceled."
27
  "Trustly orderid: %s","Trustly orderid: %s"
28
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
29
  "Trustly payment","Trustly payment"
30
  "Trustly","Trustly"
31
+ "Unable to cancel Trustly order.", "Unable to cancel Trustly order."
32
  "Unable to set payment method.","Unable to set payment method."
33
+ "Use order currency", "Use order currency"
34
+ "Use the currency the user has selected in the store when placing the order rather then the store base currency.", "Use the currency the user has selected in the store when placing the order rather then the store base currency."
35
  "What is Trustly?","Mis on Trustly?"
app/locale/fi_FI/Trustly_Trustly.csv CHANGED
@@ -10,25 +10,26 @@
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
13
- "Direct banking", "Verkkopankkimaksu"
14
  "Error processing Trustly communication.","Error processing Trustly communication."
15
- "Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor","Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor"
16
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
17
  "Failed to display the payment method.","Failed to display the payment method."
 
 
18
  "Invalid payment.","Invalid payment."
19
- "Invoiced from Trustly payment","Invoiced from Trustly payment"
20
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
21
  "Invoice: %s","Invoice: %s"
22
- "It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly.","It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly."
23
- "New payment method!","New payment method!"
24
  "Notification id: %s","Notification id: %s"
25
  "Payment amount: %s %s","Payment amount: %s %s"
26
  "Payment failed, debit received.","Payment failed, debit received."
27
  "Pending payment.","Pending payment."
28
- "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!", "Trustly on maksutapa, joka mahdollistaa maksamisen nettipankillasi. Tarvitset vain tavalliset sisäänkirjautumistietosi. Maksaminen on nopeaa, helppoa ja turvallista!"
29
  "Trustly orderid: %s","Trustly orderid: %s"
30
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
31
  "Trustly payment","Trustly payment"
32
  "Trustly","Trustly"
 
33
  "Unable to set payment method.","Unable to set payment method."
 
 
34
  "What is Trustly?","Mikä on Trustly?"
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
 
13
  "Error processing Trustly communication.","Error processing Trustly communication."
 
14
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
15
  "Failed to display the payment method.","Failed to display the payment method."
16
+ "Instant bank payment. Free. No registration.", "Pikamaksu. Ilmainen. Ilman rekisteröitymistä."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Pikamaksu online. Tukee kaikkia suomalaisia pankkeja. Ilman palkkiota. Käytä tavallista käyttäjätunnustasi."
18
  "Invalid payment.","Invalid payment."
 
19
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
20
  "Invoice: %s","Invoice: %s"
21
+ "Invoiced from Trustly payment","Invoiced from Trustly payment"
 
22
  "Notification id: %s","Notification id: %s"
23
  "Payment amount: %s %s","Payment amount: %s %s"
24
  "Payment failed, debit received.","Payment failed, debit received."
25
  "Pending payment.","Pending payment."
26
+ "Trustly order has been canceled.", "Trustly order has been canceled."
27
  "Trustly orderid: %s","Trustly orderid: %s"
28
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
29
  "Trustly payment","Trustly payment"
30
  "Trustly","Trustly"
31
+ "Unable to cancel Trustly order.", "Unable to cancel Trustly order."
32
  "Unable to set payment method.","Unable to set payment method."
33
+ "Use order currency", "Use order currency"
34
+ "Use the currency the user has selected in the store when placing the order rather then the store base currency.", "Use the currency the user has selected in the store when placing the order rather then the store base currency."
35
  "What is Trustly?","Mikä on Trustly?"
app/locale/nb_NO/Trustly_Trustly.csv ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "Amount expected: %s %s","Forventet beløp: %s %s"
2
+ "Amount received: %s %s","Mottatt beløp: %s %s"
3
+ "Authorized payment.","Autorisert betaling"
4
+ "Cancel payment","Kanseller betaling"
5
+ "Cannot connect to Trustly services.","Kan ikke koble til Trustly service."
6
+ "Cannot find the order %s.","Kan ikke finne ordre %s."
7
+ "Cannot find the relation of Trustly order %s for user %s.","Kan ikke finne relasjonen av Trustly ordre %s for bruker %s."
8
+ "Cannot verify the authenticity of Trustly communication.","Kan ikke bekrefte påliteligheten av Trustly kommunikasjon."
9
+ "Could not connect to Trustly.","Kan ikke koble til Trustly."
10
+ "Credit memo has been created automatically","Kreditt notat er automatisk generert"
11
+ "Date of transaction: %s","Transaksjon dato: %s"
12
+ "Debit amount: %s %s","Debet beløp: %s %s"
13
+ "Error processing Trustly communication.","Det oppsto en feil under Trustly kommunikasjon."
14
+ "Failed to communicate with Trustly.","Kommunikasjon med Trustly mislyktes."
15
+ "Failed to display the payment method.","Kunne ikke vise betalings metode."
16
+ "Instant bank payment. Free. No registration.", "Omgående bankbetaling. Gratis. Ingen registrering."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Omgående bankbetaling via nettet. Støtter alle norske banker. Gratis. Logg deg inn som vanlig i banken."
18
+ "Invalid payment.","Ugyldig betaling."
19
+ "Invoice for Trustly OrderId #%s created","Faktura for Trustly OrdreId #%s laget"
20
+ "Invoice: %s","Faktura: %s"
21
+ "Invoiced from Trustly payment","Faktura fra Trustly betaling"
22
+ "Notification id: %s","Varsel id: %s"
23
+ "Payment amount: %s %s","Betalings beløp: %s %s"
24
+ "Payment failed, debit received.","Betalingen mislyktes, debet er mottatt."
25
+ "Pending payment.","Utestående betaling."
26
+ "Trustly order has been canceled.","Trustly ordre er kansellert"
27
+ "Trustly orderid: %s","Trustly ordreid: %s"
28
+ "Trustly payment module has not been configured.","Trustly betaling modul er ikke konfigurert enda."
29
+ "Trustly payment","Trustly betaling"
30
+ "Trustly","Trustly"
31
+ "Unable to cancel Trustly order.","Klarte ikke å kansellere Trustly ordren."
32
+ "Unable to set payment method.","Klarte ikke å velge betalings metode."
33
+ "Use order currency","Bruk ordre valuta"
34
+ "Use the currency the user has selected in the store when placing the order rather then the store base currency.","Bruk valutaen som brukeren har valgt i butikken ved bestilling av ordren snarere enn butikkens base valuta."
35
+ "What is Trustly?","Hva er Trustly?"
app/locale/pl_PL/Trustly_Trustly.csv CHANGED
@@ -10,25 +10,26 @@
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
13
- "Direct banking", "Bezposredni przelew przez bank"
14
  "Error processing Trustly communication.","Error processing Trustly communication."
15
- "Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor","Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor"
16
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
17
  "Failed to display the payment method.","Failed to display the payment method."
 
 
18
  "Invalid payment.","Invalid payment."
19
- "Invoiced from Trustly payment","Invoiced from Trustly payment"
20
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
21
  "Invoice: %s","Invoice: %s"
22
- "It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly.","It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly."
23
- "New payment method!","New payment method!"
24
  "Notification id: %s","Notification id: %s"
25
  "Payment amount: %s %s","Payment amount: %s %s"
26
  "Payment failed, debit received.","Payment failed, debit received."
27
  "Pending payment.","Pending payment."
28
- "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!", "Trastly jest to wygodna forma oplaty przez internetbank. Jedyne, co konieczne to zalogowanie sie. Jest to szybkie, latwe i bezpieczne!"
29
  "Trustly orderid: %s","Trustly orderid: %s"
30
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
31
  "Trustly payment","Trustly payment"
32
  "Trustly","Trustly"
 
33
  "Unable to set payment method.","Unable to set payment method."
 
 
34
  "What is Trustly?","Co to jest Trustly?"
10
  "Credit memo has been created automatically","Credit memo has been created automatically"
11
  "Date of transaction: %s","Date of transaction: %s"
12
  "Debit amount: %s %s","Debit amount: %s %s"
 
13
  "Error processing Trustly communication.","Error processing Trustly communication."
 
14
  "Failed to communicate with Trustly.","Failed to communicate with Trustly."
15
  "Failed to display the payment method.","Failed to display the payment method."
16
+ "Instant bank payment. Free. No registration.", "Natychmiastowa płatność bankowa. Bezpłatnie. Bez rejestracji."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Natychmiastowa płatność bankowa online. Obsługa wszystkich polskich banków. Bez opłat. Zastosuj swój zwykły login do banku."
18
  "Invalid payment.","Invalid payment."
 
19
  "Invoice for Trustly OrderId #%s created","Invoice for Trustly OrderId #%s created"
20
  "Invoice: %s","Invoice: %s"
21
+ "Invoiced from Trustly payment","Invoiced from Trustly payment"
 
22
  "Notification id: %s","Notification id: %s"
23
  "Payment amount: %s %s","Payment amount: %s %s"
24
  "Payment failed, debit received.","Payment failed, debit received."
25
  "Pending payment.","Pending payment."
26
+ "Trustly order has been canceled.", "Trustly order has been canceled."
27
  "Trustly orderid: %s","Trustly orderid: %s"
28
  "Trustly payment module has not been configured.","Trustly payment module has not been configured."
29
  "Trustly payment","Trustly payment"
30
  "Trustly","Trustly"
31
+ "Unable to cancel Trustly order.", "Unable to cancel Trustly order."
32
  "Unable to set payment method.","Unable to set payment method."
33
+ "Use order currency", "Use order currency"
34
+ "Use the currency the user has selected in the store when placing the order rather then the store base currency.", "Use the currency the user has selected in the store when placing the order rather then the store base currency."
35
  "What is Trustly?","Co to jest Trustly?"
app/locale/sv_SE/Trustly_Trustly.csv CHANGED
@@ -10,22 +10,19 @@
10
  "Credit memo has been created automatically", "Kredit-memo har skapats automatiskt"
11
  "Date of transaction: %s", "Transaktionsdatum: %s"
12
  "Debit amount: %s %s", "Debit summa: %s %s"
13
- "Direct banking", "Direktbank"
14
  "Error processing Trustly communication.", "Kunde inte tolka kommunikationen från Trustly"
15
- "Example of banks that Trustly can be used with: <br />BBVA, La Caixa, Bankia, Santander, Banco Popular, Sabadell and Banco Pastor", "Exempel på banker som Trustly kan användas med: <br />Swedbank, Handelsbanken, SEB, Forex och Icabanken."
16
  "Failed to communicate with Trustly.", "Misslyckades att kommunicera med Trustly."
17
  "Failed to display the payment method.", "Kunde inte visa betalningsmetoden."
 
 
18
  "Invalid payment.", "Ogiltig betalning"
19
  "Invoice for Trustly OrderId #%s created", "Faktura för Trustly OrderId #%s skapad"
20
  "Invoice: %s", "Faktura: %s"
21
  "Invoiced from Trustly payment", "Fakturerad från Trustly betalning."
22
- "It is free and you don’t have to register. You have to have your login details to your online bank to pay with Trustly.", "Det är gratis och du behöver inte registrera dig. Du måste ha dina inloggningsuppgifter till din Internetbank för att betala med Trustly."
23
- "New payment method!", "Ny betalnings metod!"
24
  "Notification id: %s", "Notifieringsid: %s"
25
  "Payment amount: %s", "Betalning: %s %s"
26
  "Payment failed, debit received.", "Betalningen misslyckades, debitering mottagen."
27
  "Pending payment.", "Inkommande betalning."
28
- "Trustly is a payment method that allows you to pay with your online bank account. All you need is your regular online bank credentials. It's fast, easy and secure!", "Trustly är en betalningsmetod som gör det möjligt att betala med din internetbank. Allt du behöver är dina vanliga inloggningsuppgifter. Det är snabbt, enkelt och säkert!"
29
  "Trustly order has been canceled.", "Trustly betalningen har avbrutits."
30
  "Trustly orderid: %s", "Trustly OrderId: %s"
31
  "Trustly payment module has not been configured.","Betalningsmodulen för Trustly har inte blivit konfigurerad."
10
  "Credit memo has been created automatically", "Kredit-memo har skapats automatiskt"
11
  "Date of transaction: %s", "Transaktionsdatum: %s"
12
  "Debit amount: %s %s", "Debit summa: %s %s"
 
13
  "Error processing Trustly communication.", "Kunde inte tolka kommunikationen från Trustly"
 
14
  "Failed to communicate with Trustly.", "Misslyckades att kommunicera med Trustly."
15
  "Failed to display the payment method.", "Kunde inte visa betalningsmetoden."
16
+ "Instant bank payment. Free. No registration.", "Direktbetalning över nätet. Gratis. Ingen registrering."
17
+ "Instant online banking payment. Supports all banks. Free of charge. Use your regular bank login.", "Direktbetalning över nätet. Stödjer alla svenska banker. Gratis. Använd inloggningen till din vanliga bank."
18
  "Invalid payment.", "Ogiltig betalning"
19
  "Invoice for Trustly OrderId #%s created", "Faktura för Trustly OrderId #%s skapad"
20
  "Invoice: %s", "Faktura: %s"
21
  "Invoiced from Trustly payment", "Fakturerad från Trustly betalning."
 
 
22
  "Notification id: %s", "Notifieringsid: %s"
23
  "Payment amount: %s", "Betalning: %s %s"
24
  "Payment failed, debit received.", "Betalningen misslyckades, debitering mottagen."
25
  "Pending payment.", "Inkommande betalning."
 
26
  "Trustly order has been canceled.", "Trustly betalningen har avbrutits."
27
  "Trustly orderid: %s", "Trustly OrderId: %s"
28
  "Trustly payment module has not been configured.","Betalningsmodulen för Trustly har inte blivit konfigurerad."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Trustly</name>
4
- <version>2.0.11</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GPL 3</license>
7
  <channel>community</channel>
@@ -16,30 +16,33 @@
16
  <email>info@trustly.com</email>
17
  </author>
18
  </authors>
19
- <date>2015-02-16</date>
20
- <time>13:49:18</time>
21
  <contents>
22
  <target name="magelocale">
23
  <dir name="da_DK">
24
- <file name="Trustly_Trustly.csv" hash="bdd0d2cbbffee4ab2f268e90de6178a4"/>
25
  </dir>
26
  <dir name="en_US">
27
- <file name="Trustly_Trustly.csv" hash="4ecd6f9846463c1c63b38a075dead52a"/>
28
  </dir>
29
  <dir name="es_ES">
30
- <file name="Trustly_Trustly.csv" hash="151590632c51de093dc27a46a0003581"/>
31
  </dir>
32
  <dir name="et_EE">
33
- <file name="Trustly_Trustly.csv" hash="5ac7fbc6a05c01ae4d87c3116b828c11"/>
34
  </dir>
35
  <dir name="fi_FI">
36
- <file name="Trustly_Trustly.csv" hash="e6d83466916e8e9c3710a943d0b386d3"/>
 
 
 
37
  </dir>
38
  <dir name="pl_PL">
39
- <file name="Trustly_Trustly.csv" hash="4f05bfa243336c0622bb76f8d3e190e9"/>
40
  </dir>
41
  <dir name="sv_SE">
42
- <file name="Trustly_Trustly.csv" hash="14fa4d162aa95aa2614c9eb8122d0546"/>
43
  </dir>
44
  </target>
45
  <target name="magecommunity">
@@ -48,28 +51,28 @@
48
  <dir name="Block">
49
  <dir name="System">
50
  <dir name="Config">
51
- <file name="About.php" hash="8bdfd609cc2c1a542e1013f9ea12242a"/>
52
  </dir>
53
  </dir>
54
- <file name="Form.php" hash="5c51365bdb83656edd548bd49535b1f5"/>
55
- <file name="Redirect.php" hash="510806d4ce26ca99ac107837fdd00f56"/>
56
  </dir>
57
  <dir name="Helper">
58
- <file name="Data.php" hash="cbdcab091cc8f9308f1a61a9d5580f86"/>
59
  </dir>
60
  <dir name="Model">
61
  <dir name="Mysql4">
62
- <file name="Ordermappings.php" hash="3e15a9a87af7239a42a750c4343ceb54"/>
63
  </dir>
64
- <file name="Ordermappings.php" hash="8e3426d5454803ab2a212ff5c086dcdf"/>
65
- <file name="Standard.php" hash="7fc3027a735a544f1bcd0cd65a745d88"/>
66
  </dir>
67
  <dir name="controllers">
68
- <file name="PaymentController.php" hash="2a4038d664f17eac7dc98e7b60ba9fe8"/>
69
  </dir>
70
  <dir name="etc">
71
- <file name="config.xml" hash="2a6d8d9b1ffd7c6ab07618e0ede2426a"/>
72
- <file name="system.xml" hash="d92061e410e4e923eb39fa59f2e00927"/>
73
  </dir>
74
  <dir name="lib">
75
  <dir name="Trustly">
@@ -78,29 +81,31 @@
78
  <file name="test.trustly.com.public.pem" hash="e61b3f9fc1e3893282fe2d575dc5571a"/>
79
  <file name="trustly.com.public.pem" hash="b2c821ad10c085a40b6c4e36ee6b8c9e"/>
80
  </dir>
81
- <file name="api.php" hash="9a4f82b8d7cad47841f304307d2d5846"/>
82
- <file name="ecommerce.php" hash="c1a08d59a379ab34a40d707dbc59e51d"/>
83
- <file name="signed.php" hash="48b6a27776ab5c5e8bad8658d7c33769"/>
84
- <file name="unsigned.php" hash="c3a60853757caf73f5fda798be931e2c"/>
85
  </dir>
86
  <dir name="Data">
87
- <file name="data.php" hash="3219d091f894cffe9dce55c24c64af7f"/>
88
- <file name="jsonrpcnotificationrequest.php" hash="00a29b82d7fbbdbc823534cf7b024840"/>
89
- <file name="jsonrpcnotificationresponse.php" hash="9ffc52a8a52b03a7f737144d7c651946"/>
90
- <file name="jsonrpcrequest.php" hash="ad057f824143361c629575e355a168ff"/>
91
- <file name="jsonrpcresponse.php" hash="45c31a0a6642b42d1f4b3f3887a39203"/>
92
- <file name="jsonrpcsignedresponse.php" hash="0fdcb9de9f5c6d2600c64852c4eaad79"/>
93
- <file name="request.php" hash="34a0927f88912ed9fdee247a28e74c57"/>
94
- <file name="response.php" hash="879837bdd13dfd75d812f170ea4918e7"/>
95
  </dir>
96
- <file name="exceptions.php" hash="76824da93a3bb855a248ec3f27f84fe8"/>
97
  </dir>
98
  <file name="LICENCE" hash="8713032dd477873c84ed4ff4b7da5f70"/>
99
- <file name="Trustly.php" hash="c2d7e9268b03e89699ad17047dd78bc3"/>
 
 
100
  </dir>
101
  <dir name="sql">
102
  <dir name="trustly_setup">
103
- <file name="install-2.0.4.php" hash="8adab66e05093992264374b613c8f796"/>
 
104
  <file name="upgrade-1.0.5-2.0.0.php" hash="305e6535758a1da91b107a4a6b5b33d5"/>
105
  <file name="upgrade-2.0.3-2.0.4.php" hash="cb345308065dbac8985db01ebc61f628"/>
106
  </dir>
@@ -122,9 +127,9 @@
122
  </dir>
123
  <dir name="template">
124
  <dir name="trustly">
125
- <file name="form.phtml" hash="f37a2b86d35eea0a8cd6ec176d466424"/>
126
- <file name="iframe.phtml" hash="eb8fe39d00643f27c392845f5b535a44"/>
127
- <file name="mark.phtml" hash="247201e74fde66ffdca19045a28ff667"/>
128
  </dir>
129
  </dir>
130
  </dir>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Trustly</name>
4
+ <version>2.0.12</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GPL 3</license>
7
  <channel>community</channel>
16
  <email>info@trustly.com</email>
17
  </author>
18
  </authors>
19
+ <date>2015-03-30</date>
20
+ <time>10:51:35</time>
21
  <contents>
22
  <target name="magelocale">
23
  <dir name="da_DK">
24
+ <file name="Trustly_Trustly.csv" hash="aa7575d1864e3c170de228d4fa75c229"/>
25
  </dir>
26
  <dir name="en_US">
27
+ <file name="Trustly_Trustly.csv" hash="fe6921283721d8c6b8997f1c9a7b7371"/>
28
  </dir>
29
  <dir name="es_ES">
30
+ <file name="Trustly_Trustly.csv" hash="7f514be9aa9464b2453d6e07680a602a"/>
31
  </dir>
32
  <dir name="et_EE">
33
+ <file name="Trustly_Trustly.csv" hash="88c537233c244dd3cc56ea0de17ed259"/>
34
  </dir>
35
  <dir name="fi_FI">
36
+ <file name="Trustly_Trustly.csv" hash="206f9edc661ec84821f445baf67c182c"/>
37
+ </dir>
38
+ <dir name="nb_NO">
39
+ <file name="Trustly_Trustly.csv" hash="5c8ca8d390b57d01e4263d165ed5aaf2"/>
40
  </dir>
41
  <dir name="pl_PL">
42
+ <file name="Trustly_Trustly.csv" hash="27e5174213fd321aa0ae5ee7cbbc575d"/>
43
  </dir>
44
  <dir name="sv_SE">
45
+ <file name="Trustly_Trustly.csv" hash="7de5f07ea934b3b2c22cb27b7197720d"/>
46
  </dir>
47
  </target>
48
  <target name="magecommunity">
51
  <dir name="Block">
52
  <dir name="System">
53
  <dir name="Config">
54
+ <file name="About.php" hash="718a3e0e730ee688077363403f30b60e"/>
55
  </dir>
56
  </dir>
57
+ <file name="Form.php" hash="a65f1b111fde8a0fe0a57427b5cd7e38"/>
58
+ <file name="Redirect.php" hash="83601b40dbb62de16aad76eaa0374b16"/>
59
  </dir>
60
  <dir name="Helper">
61
+ <file name="Data.php" hash="b9902030e6ff25cb1154522a4d6eecc6"/>
62
  </dir>
63
  <dir name="Model">
64
  <dir name="Mysql4">
65
+ <file name="Ordermappings.php" hash="2646cf5a89931567877c586f69b605cb"/>
66
  </dir>
67
+ <file name="Ordermappings.php" hash="53b9f4afef2fb240d35528f06c5e3c19"/>
68
+ <file name="Standard.php" hash="be676893109e766431dd8075377aceb4"/>
69
  </dir>
70
  <dir name="controllers">
71
+ <file name="PaymentController.php" hash="e18d29bad284fba48e21f23f0970c407"/>
72
  </dir>
73
  <dir name="etc">
74
+ <file name="config.xml" hash="bb6b558e932db1cee5bc43b39acd9641"/>
75
+ <file name="system.xml" hash="1d05a6c9e2698de58e9f86ed172a8d43"/>
76
  </dir>
77
  <dir name="lib">
78
  <dir name="Trustly">
81
  <file name="test.trustly.com.public.pem" hash="e61b3f9fc1e3893282fe2d575dc5571a"/>
82
  <file name="trustly.com.public.pem" hash="b2c821ad10c085a40b6c4e36ee6b8c9e"/>
83
  </dir>
84
+ <file name="api.php" hash="36d19f4adb8150687911b9faf3a56923"/>
85
+ <file name="signed.php" hash="a7bbd8708169d0f7021d90ede76694f7"/>
86
+ <file name="unsigned.php" hash="949ef7542850d212eb3147368bf02070"/>
 
87
  </dir>
88
  <dir name="Data">
89
+ <file name="data.php" hash="7fbe26e12fd5df330f9172ff4ca1465b"/>
90
+ <file name="jsonrpcnotificationrequest.php" hash="eb9276016f46c497b27cbbd5a2daeed8"/>
91
+ <file name="jsonrpcnotificationresponse.php" hash="7783639307db8f310808dfc15d2a3d59"/>
92
+ <file name="jsonrpcrequest.php" hash="757d93b0b5957a8593a3d70889df106c"/>
93
+ <file name="jsonrpcresponse.php" hash="0520907f00771ff37762ebbac6c969dd"/>
94
+ <file name="jsonrpcsignedresponse.php" hash="bb858b420fb9d11261a33e6a30337cc0"/>
95
+ <file name="request.php" hash="1665da7d553a2ca518de94e2d4280bfe"/>
96
+ <file name="response.php" hash="bdc3fb5c03619346dd2131158f2253eb"/>
97
  </dir>
98
+ <file name="exceptions.php" hash="490d32bc3fe7a4fb9ef6c92aa9dc7ceb"/>
99
  </dir>
100
  <file name="LICENCE" hash="8713032dd477873c84ed4ff4b7da5f70"/>
101
+ <file name="README.md" hash="9a8b951a089ee6cab156bce818f4e1b5"/>
102
+ <file name="Trustly.php" hash="f3eb105285128246ce17dbec90746a8e"/>
103
+ <file name="composer.json" hash="ff37bbc26dbeb509061ab2f42e9228e2"/>
104
  </dir>
105
  <dir name="sql">
106
  <dir name="trustly_setup">
107
+ <file name="install-2.0.11.php" hash="8adab66e05093992264374b613c8f796"/>
108
+ <file name="mysql4-install-2.0.10.php" hash="0cca97387d0c850ac9d27847f50b1ae8"/>
109
  <file name="upgrade-1.0.5-2.0.0.php" hash="305e6535758a1da91b107a4a6b5b33d5"/>
110
  <file name="upgrade-2.0.3-2.0.4.php" hash="cb345308065dbac8985db01ebc61f628"/>
111
  </dir>
127
  </dir>
128
  <dir name="template">
129
  <dir name="trustly">
130
+ <file name="form.phtml" hash="056ea0ceb0b4fb89c5b10e6146b84a9f"/>
131
+ <file name="iframe.phtml" hash="4805a2e6d22d3d9c4df5c05864f09d3a"/>
132
+ <file name="mark.phtml" hash="e535d84b06bb079e098e94d4b6430abd"/>
133
  </dir>
134
  </dir>
135
  </dir>