Trollweb_Dibs - Version 1.0.1

Version Notes

Initial Release of the official DIBS Payment module for Magento.

Download this release

Release Info

Developer Roy Andre Tollefsen
Extension Trollweb_Dibs
Version 1.0.1
Comparing to
See all releases


Version 1.0.1

app/design/adminhtml/default/default/template/dibs/dibspw/form.phtml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <fieldset class="form-list">
2
+ <?php $_code=$this->getMethodCode() ?>
3
+ <?php $logoUrl = $this->getMethod()->getLogoUrl(); ?>
4
+ <img alt="logo" src="<?php echo $logoUrl; ?>" />
5
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
6
+ <li>
7
+ <br />
8
+ <?php echo $this->getRedirectText(); ?>
9
+ </li>
10
+ </ul>
11
+ </fieldset>
app/design/adminhtml/default/default/template/dibs/dibspw/paymentinfo.phtml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $logoUrl = $this->getMethod()->getLogoUrl(); ?>
2
+ <p>
3
+ <?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
4
+ <?php if (!empty($logoUrl)): ?>
5
+ <br />
6
+ <img alt="logo" src="<?php echo $logoUrl; ?>" />
7
+ <?php endif;?>
8
+ </p>
9
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
10
+ <table>
11
+ <tbody>
12
+ <?php foreach ($_specificInfo as $_label => $_value):?>
13
+ <tr>
14
+ <th><?php echo $this->escapeHtml($_label)?>:</th>
15
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
16
+ </tr>
17
+ <?php endforeach; ?>
18
+ </tbody>
19
+ </table>
20
+ <?php endif;?>
app/design/frontend/base/default/template/dibs/dibspw/form.phtml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <fieldset class="form-list">
2
+ <?php $logoUrl = $this->getLogoUrl() ?>
3
+ <?php if (!empty($logoUrl)): ?>
4
+ <img src="<?php echo $logoUrl ?>" />
5
+ <?php endif;?>
6
+ <?php $_code=$this->getMethodCode() ?>
7
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
8
+ <li>
9
+ <br />
10
+ <?php echo $this->getRedirectText(); ?>
11
+ </li>
12
+ </ul>
13
+ </fieldset>
app/design/frontend/base/default/template/dibs/dibspw/paymentinfo.phtml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $logoUrl = $this->getLogoUrl(); ?>
2
+ <p>
3
+ <?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
4
+ <?php if (!empty($logoUrl)): ?>
5
+ <br />
6
+ <img alt="logo" src="<?php echo $logoUrl; ?>" />
7
+ <?php endif;?>
8
+ </p>
9
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
10
+ <table>
11
+ <tbody>
12
+ <?php foreach ($_specificInfo as $_label => $_value):?>
13
+ <tr>
14
+ <th><?php echo $this->escapeHtml($_label)?>:</th>
15
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
16
+ </tr>
17
+ <?php endforeach; ?>
18
+ </tbody>
19
+ </table>
20
+ <?php endif;?>
app/design/frontend/base/default/template/dibs/dibspw/redirect.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <p><?php echo $this->getMethod()->getRedirectText() ?></p>
2
+ <script type="text/javascript">
3
+ //<![CDATA[
4
+ var redirect = new VarienForm('<?php echo $this->getForm()->getId() ?>', '');
5
+ Event.observe(window, 'load', function() {
6
+ //redirect.submit();
7
+ });
8
+ //]]>
9
+ </script>
app/etc/modules/Trollweb_Dibs.xml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Trollweb_Dibs>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ <depends>
8
+ <Mage_Payment />
9
+ </depends>
10
+ </Trollweb_Dibs>
11
+ </modules>
12
+ </config>
app/locale/nb_NO/Trollweb_Dibs.csv ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "HMAC key","HMAC nøkkel"
2
+ "Regcode","Registreringskode"
3
+ "Enter your HMAC key. Can be found in DIBS Administration panel, under Integration -> HMAC keys.","Fyll inn din HMAC nøkkel, denne kan du finne i DIBS Administrasjonspanel under Integrasion -> HMAC nøkler."
4
+ "Informational text under the Dibs payment method option.","Meldingstekst som kunden ser når han eller hun velger betalingsalternativet Dibs."
5
+ "Info text","Utvidet infotekst"
6
+ "New order status","Ny ordre status"
7
+ "You will be redirected to Dibs in a few seconds.","Du vil bli videreført til DIBS betalingsvindu on noen sekunder."
8
+ "Billing details","Faktura-adresse"
9
+ "Shipping details","Leverings-adresse"
10
+ "Cart details","Handekurv detaljer"
11
+ "Select sorting order og payment method.","Ønsket sortering i Betalingsmetoder-feltet på utsjekkingssiden i nettbutikken. Aktuelt dersom du tilbyr flere betalingsalternativer og ønsker å plassere DIBS betalingsvalget i en angitt rekkefølge."
12
+ "Sort order","Sortering av betalingsmetode"
13
+ "Authorize Only","Bare godkjenn"
14
+ "Authorize + Capture","Godkjenn og motta betaling"
15
+ "Dibs Authorization successful","Dibs autorisasjon vellykket"
16
+ "Dibs Authorization Declined","Dibs autorisasjon mislyktes"
17
+ "Send new order email","Send ny ordre epost"
18
+ "Send email to customer on authorization approved.","Send epost til kunden ved autorisasjon av kort."
19
+ "New order status after authorization approved.","Ny status etter autorisasjon."
20
+ "Optional details","Valgfrie ordredetaljer"
21
+ "Send additional checkout details to Dibs.","Valgfrie ordredetaljer som skal sendes til DIBS betalingsvindu."
22
+ "Order item VAT type","Moms format på varelinje"
23
+ "Show VAT value in percent or amount.","Vis momsverdien som prosent eller verdi."
24
+ "Payment window language","Språk på betalingsvindu"
25
+ "Test mode","Testmodus"
26
+ "Debug mode","Feilsøkingsmodus"
27
+ "Capture request failed, try again or contact site administation","Trekk ble ikke fullført, prøv igjen eller kontakt side administrator"
28
+ "Order needs payment review","Ordren trenger manuell godkjenning"
29
+ "Payment is cancelled. Please try again.","Betalingen ble ikke gjennomført, vennligst prøv igjen"
30
+ "Could not find transaction id.","Trekk ble ikke gjennomført, pga. manglende (DIBS) transaksjons ID"
31
+ "Payment capturing was delined, try again or capture offline and manually run capture in DIBS Admin panel","Trekk ble avvist av DIBS, prøv igjen eller trekk 'offline' og behandle transaksjonen manuelt i DIBS Adminpanel"
32
+ "Error capturing payment, try again or capture offline and manually run capture in DIBS Admin panel","Trekk feilet hos DIBS, prøv igjen eller trekk 'offline' og behandle transaksjonen manuelt i DIBS Adminpanel"
33
+ "Refund was declined by DIBS. Use DIBS Admin panel to manually refund this transaction","Kreditering ble avvist av DIBS, prøv igjen eller behandle transaksjonen manuelt i DIBS Adminpanel"
34
+ "Unable to refund DIBS transaction. Use DIBS Admin panel to manually refund this transaction","Kreditering feilet hos DIBS, prøv igjen eller behandle transaksjonen manuelt i DIBS Adminpanel"
35
+ "Unable to cancel DIBS transaction. Use DIBS Admin panel to manually cancel this transaction","Kansellering feilet hos DIBS, prøv igjen eller behandle transaksjonen manuelt i DIBS Adminpanel"
36
+ "Billing details","Fakturaadressedetaljer"
37
+ "Shipping details","Leveringsadressedetaljer"
38
+ "Cart details","Varelinjedetaljer"
39
+ "Payment failed, please try again.","Betalingen feilet, vennligst prøv igjen"
40
+ "%s hour","%s timer"
41
+ "Cancel 'pending' orders after","Avbryt 'Pending Dibs' ordre"
42
+ "Pending orders can be automatically canceled after a pre-defined timeout.","Ordre med status 'Pending Dibs' vil bli kansellert etter denne pre-definerte tiden."
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Trollweb_Dibs</name>
4
+ <version>1.0.1</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.trollweb.no">Single-site License</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>The official DIBS Payment module for Magento, developed and supported by Trollweb Solutions.</summary>
10
+ <description>The DIBS module from Magento by Trollweb is the only one backed and supported by both DIBS and Trollweb, a leading Magento Payments module developer based in Norway and Sweden.</description>
11
+ <notes>Initial Release of the official DIBS Payment module for Magento.</notes>
12
+ <authors><author><name>Roy Andre Tollefsen</name><user>trollweb</user><email>royandre@trollweb.no</email></author></authors>
13
+ <date>2013-03-03</date>
14
+ <time>15:28:32</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="dibs"><dir name="dibspw"><file name="form.phtml" hash="5739f81ca605856a9e7bd79915d4c1ca"/><file name="paymentinfo.phtml" hash="9b38da3623d46b6a8a246aab530d9dc0"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="dibs"><dir name="dibspw"><file name="form.phtml" hash="26a735053ff7e74bde5d3c019a479b2d"/><file name="paymentinfo.phtml" hash="ea322fca27fd523ea3f820f9d49b9be1"/><file name="redirect.phtml" hash="fee8316fdd05846e8b8aef45ab45490f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Trollweb_Dibs.xml" hash="85fed3975d75a1d3ca9aaf73ad839b76"/></dir></target><target name="magelocale"><dir><dir name="nb_NO"><file name="Trollweb_Dibs.csv" hash="eab7765fdec26ab3c56677fc6909397c"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="images"><dir name="trollweb"><dir name="dibs"><dir name="logos"><file name="black.jpg" hash="55dccedd53a923983891869509f68a27"/><file name="blue.jpg" hash="dbe53239b14c5900ab0cc0a9c3c9f9f1"/><file name="green.jpg" hash="c95d2aad8fbb780137dfc8dacc087fa6"/><file name="grey.jpg" hash="99db51b92759e228f01866d71baf3467"/><file name="red.jpg" hash="1c36abdf7e2a2f0d9701ac45517dc55b"/><file name="yellow.jpg" hash="22b3fdfb251a317d48b8cd216d081387"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="trollweb"><dir name="dibs"><dir name="logos"><file name="black.jpg" hash="55dccedd53a923983891869509f68a27"/><file name="blue.jpg" hash="dbe53239b14c5900ab0cc0a9c3c9f9f1"/><file name="green.jpg" hash="c95d2aad8fbb780137dfc8dacc087fa6"/><file name="grey.jpg" hash="99db51b92759e228f01866d71baf3467"/><file name="red.jpg" hash="1c36abdf7e2a2f0d9701ac45517dc55b"/><file name="yellow.jpg" hash="22b3fdfb251a317d48b8cd216d081387"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>
skin/adminhtml/base/default/images/trollweb/dibs/logos/black.jpg ADDED
Binary file
skin/adminhtml/base/default/images/trollweb/dibs/logos/blue.jpg ADDED
Binary file
skin/adminhtml/base/default/images/trollweb/dibs/logos/green.jpg ADDED
Binary file
skin/adminhtml/base/default/images/trollweb/dibs/logos/grey.jpg ADDED
Binary file
skin/adminhtml/base/default/images/trollweb/dibs/logos/red.jpg ADDED
Binary file
skin/adminhtml/base/default/images/trollweb/dibs/logos/yellow.jpg ADDED
Binary file
skin/frontend/base/default/images/trollweb/dibs/logos/black.jpg ADDED
Binary file
skin/frontend/base/default/images/trollweb/dibs/logos/blue.jpg ADDED
Binary file
skin/frontend/base/default/images/trollweb/dibs/logos/green.jpg ADDED
Binary file
skin/frontend/base/default/images/trollweb/dibs/logos/grey.jpg ADDED
Binary file
skin/frontend/base/default/images/trollweb/dibs/logos/red.jpg ADDED
Binary file
skin/frontend/base/default/images/trollweb/dibs/logos/yellow.jpg ADDED
Binary file