Apruve_B2B_Payment_Gateway - Version 1.0.3

Version Notes

Stable Version

Download this release

Release Info

Developer Magento Core Team
Extension Apruve_B2B_Payment_Gateway
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Apruve/ApruvePayment/Block/Payment/Form.php CHANGED
@@ -40,12 +40,12 @@ class Apruve_ApruvePayment_Block_Payment_Form extends Mage_Payment_Block_Form
40
  */
41
  public function getMethodTitle()
42
  {
43
- $locale = Mage::app()->getLocale();
44
 
45
  $mark = Mage::getConfig()->getBlockClassName('core/template');
46
  $mark = new $mark;
47
  $mark->setTemplate('apruvepayment/payment/mark.phtml');
48
 
49
- $this->setMethodLabelAfterHtml($mark->toHtml());
50
  }
51
  }
40
  */
41
  public function getMethodTitle()
42
  {
43
+ $title = $this->getMethod()->getTitle(); //title set in admin area
44
 
45
  $mark = Mage::getConfig()->getBlockClassName('core/template');
46
  $mark = new $mark;
47
  $mark->setTemplate('apruvepayment/payment/mark.phtml');
48
 
49
+ $this->setMethodLabelAfterHtml($title.$mark->toHtml());
50
  }
51
  }
app/code/community/Apruve/ApruvePayment/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Apruve_ApruvePayment>
5
- <version>1.0.2</version>
6
  </Apruve_ApruvePayment>
7
  </modules>
8
  <frontend>
@@ -67,7 +67,7 @@
67
  <active>1</active>
68
  <model>apruvepayment/paymentMethod</model>
69
  <order_status>pending_payment</order_status>
70
- <title>Apruve</title>
71
  </apruvepayment>
72
  </payment>
73
  </default>
2
  <config>
3
  <modules>
4
  <Apruve_ApruvePayment>
5
+ <version>1.0.3</version>
6
  </Apruve_ApruvePayment>
7
  </modules>
8
  <frontend>
67
  <active>1</active>
68
  <model>apruvepayment/paymentMethod</model>
69
  <order_status>pending_payment</order_status>
70
+ <title>Pay with Apruve</title>
71
  </apruvepayment>
72
  </payment>
73
  </default>
app/code/community/Apruve/ApruvePayment/etc/system.xml CHANGED
@@ -69,6 +69,15 @@
69
  <show_in_website>1</show_in_website>
70
  <show_in_store>0</show_in_store>
71
  </webhook_url>
 
 
 
 
 
 
 
 
 
72
  </fields>
73
  </apruvepayment>
74
  </groups>
69
  <show_in_website>1</show_in_website>
70
  <show_in_store>0</show_in_store>
71
  </webhook_url>
72
+ <sort_order translate="label">
73
+ <label>Sort Order</label>
74
+ <frontend_type>text</frontend_type>
75
+ <sort_order>100</sort_order>
76
+ <show_in_default>1</show_in_default>
77
+ <show_in_website>1</show_in_website>
78
+ <show_in_store>0</show_in_store>
79
+ <frontend_class>validate-number</frontend_class>
80
+ </sort_order>
81
  </fields>
82
  </apruvepayment>
83
  </groups>
app/design/frontend/default/default/template/apruvepayment/payment/mark.phtml CHANGED
@@ -24,7 +24,7 @@ $helper = Mage::helper('apruvepayment');
24
  $paymentRequestModel = $helper->getPaymentRequestApiModel();
25
  ?>
26
 
27
- <div id="apruveDiv" style="display: inline-block; position: absolute; margin-top: -5px; margin-left: 7px;"></div>
28
 
29
  <script type="test/javascript">
30
  var sh = '<?php echo $paymentRequestModel->getSecureHash();?>';
24
  $paymentRequestModel = $helper->getPaymentRequestApiModel();
25
  ?>
26
 
27
+ <div id="apruveDiv" style="display: inline-block; position: absolute; margin-top: -3px; margin-left: 7px;"></div>
28
 
29
  <script type="test/javascript">
30
  var sh = '<?php echo $paymentRequestModel->getSecureHash();?>';
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Apruve_B2B_Payment_Gateway</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License, 2.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Payments designed for business spending. Increase sales and reduce cart abandonment by allowing your shoppers to send purchases directly to their company or client for payment, simply by using an email address instead of a credit card. Learn more and sign up for a free merchant account at http://www.apruve.com.</description>
11
  <notes>Stable Version</notes>
12
  <authors><author><name>Apruve</name><user>auto-converted</user><email>magento@apruve.com</email></author></authors>
13
- <date>2014-01-09</date>
14
- <time>16:56:36</time>
15
- <contents><target name="magecommunity"><dir name="Apruve"><dir name="ApruvePayment"><dir name="Block"><dir name="Admin"><file name="Webhook.php" hash="9d4bdae192f68d18b90ba7758d65413a"/></dir><dir name="Payment"><file name="Form.php" hash="06b236c8a4b77938fc4aa4958a5d0b51"/></dir><dir name="Review"><file name="Billing.php" hash="ef25b3b421753e850492230121ba123d"/><file name="Details.php" hash="630be5289ef8190c50932195e78d6f2f"/><file name="Result.php" hash="c04da45eabf6a68111f212ed3f9f1a85"/><file name="Shipping.php" hash="6996af1a1165e1652327b596f7300625"/></dir><file name="Review.php" hash="05da13dee430b15710ea26dfa7b2c705"/></dir><dir name="Helper"><file name="Data.php" hash="4e541255b94d18f3ee058044810cade2"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="c797cf78dffdd8ce7e5255dbda680c86"/><file name="PaymentRequest.php" hash="20642627cc3ae5c3fd3551ee7d545350"/><file name="Rest.php" hash="24594a585e77d39141e481cd33817b3d"/></dir><dir name="Mysql4"><file name="Setup.php" hash="8b3e5b033dac91b47e59c024e16c04ec"/></dir><file name="PaymentMethod.php" hash="e59fa770e455f1bf19ccd2fc66d21386"/><file name="Session.php" hash="2f7d9205490a8c0a053c1898a8e01cc4"/></dir><dir name="controllers"><file name="PaymentController.php" hash="35ed73a7807c4e8c299c89d160e3b791"/><file name="WebhookController.php" hash="f326a073653658b3844ee925fd20a4d8"/></dir><dir name="etc"><file name="config.xml" hash="945c46930d0a19c28769211ddb26a448"/><file name="system.xml" hash="edea825e239bc173d092d86cb940fe4d"/></dir><file name="LICENSE.txt" hash="9b76dd4b62de4f9840b5d462fcb25e39"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Apruve_ApruvePayment.xml" hash="68277872189de89c07b32651805c0cfd"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="apruvepayment.xml" hash="1d52df076454609594100f4f34410335"/></dir><dir name="template"><dir name="apruvepayment"><dir name="payment"><file name="form.phtml" hash="f5bb213aa629bed02b7c83c3e7512bbc"/><file name="mark.phtml" hash="266dfd05c9a3f308b7f3878c338d8750"/></dir><dir name="review"><dir name="shipping"><file name="method.phtml" hash="5d35b4f1f35d264bcd01864855da8db5"/></dir><file name="address.phtml" hash="6b9847fc1c92a1751de58691d6757313"/><file name="details.phtml" hash="603681f92d1683bf8edce9ac5bce7d2f"/><file name="result.phtml" hash="2b7438c88e2248f7591d600592210519"/><file name="shipping_method.phtml" hash="a8291b340315ca485c6a298eb86b3a0c"/></dir><file name="head.phtml" hash="34585fced2912e86978ab3253791c5a2"/><file name="review.phtml" hash="5e7d1ab1aebe6fa1cfec6e80466e665c"/><file name="shortcut.phtml" hash="cfb4ddcaa286b8b5fd1dc32dcdcde77d"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="Apruve"><file name="ApruvePayment.js" hash="e6f1716e3e0668963dffff0d1ab04fb1"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Apruve_B2B_Payment_Gateway</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License, 2.0</license>
7
  <channel>community</channel>
10
  <description>Payments designed for business spending. Increase sales and reduce cart abandonment by allowing your shoppers to send purchases directly to their company or client for payment, simply by using an email address instead of a credit card. Learn more and sign up for a free merchant account at http://www.apruve.com.</description>
11
  <notes>Stable Version</notes>
12
  <authors><author><name>Apruve</name><user>auto-converted</user><email>magento@apruve.com</email></author></authors>
13
+ <date>2014-01-10</date>
14
+ <time>14:53:06</time>
15
+ <contents><target name="magecommunity"><dir name="Apruve"><dir name="ApruvePayment"><dir name="Block"><dir name="Admin"><file name="Webhook.php" hash="9d4bdae192f68d18b90ba7758d65413a"/></dir><dir name="Payment"><file name="Form.php" hash="0e9788976c4fa4380ad6f76ca8e656d8"/></dir><dir name="Review"><file name="Billing.php" hash="ef25b3b421753e850492230121ba123d"/><file name="Details.php" hash="630be5289ef8190c50932195e78d6f2f"/><file name="Result.php" hash="c04da45eabf6a68111f212ed3f9f1a85"/><file name="Shipping.php" hash="6996af1a1165e1652327b596f7300625"/></dir><file name="Review.php" hash="05da13dee430b15710ea26dfa7b2c705"/></dir><dir name="Helper"><file name="Data.php" hash="4e541255b94d18f3ee058044810cade2"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="c797cf78dffdd8ce7e5255dbda680c86"/><file name="PaymentRequest.php" hash="20642627cc3ae5c3fd3551ee7d545350"/><file name="Rest.php" hash="24594a585e77d39141e481cd33817b3d"/></dir><dir name="Mysql4"><file name="Setup.php" hash="8b3e5b033dac91b47e59c024e16c04ec"/></dir><file name="PaymentMethod.php" hash="e59fa770e455f1bf19ccd2fc66d21386"/><file name="Session.php" hash="2f7d9205490a8c0a053c1898a8e01cc4"/></dir><dir name="controllers"><file name="PaymentController.php" hash="35ed73a7807c4e8c299c89d160e3b791"/><file name="WebhookController.php" hash="f326a073653658b3844ee925fd20a4d8"/></dir><dir name="etc"><file name="config.xml" hash="75d337eaaca9d203903f1e0dfcce32c6"/><file name="system.xml" hash="0bede58fc1882493df6710fd0d981d2f"/></dir><file name="LICENSE.txt" hash="9b76dd4b62de4f9840b5d462fcb25e39"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Apruve_ApruvePayment.xml" hash="68277872189de89c07b32651805c0cfd"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="apruvepayment.xml" hash="1d52df076454609594100f4f34410335"/></dir><dir name="template"><dir name="apruvepayment"><dir name="payment"><file name="form.phtml" hash="f5bb213aa629bed02b7c83c3e7512bbc"/><file name="mark.phtml" hash="c55da5ae5c0fb45c2433b9ac865bcd0d"/></dir><dir name="review"><dir name="shipping"><file name="method.phtml" hash="5d35b4f1f35d264bcd01864855da8db5"/></dir><file name="address.phtml" hash="6b9847fc1c92a1751de58691d6757313"/><file name="details.phtml" hash="603681f92d1683bf8edce9ac5bce7d2f"/><file name="result.phtml" hash="2b7438c88e2248f7591d600592210519"/><file name="shipping_method.phtml" hash="a8291b340315ca485c6a298eb86b3a0c"/></dir><file name="head.phtml" hash="34585fced2912e86978ab3253791c5a2"/><file name="review.phtml" hash="5e7d1ab1aebe6fa1cfec6e80466e665c"/><file name="shortcut.phtml" hash="cfb4ddcaa286b8b5fd1dc32dcdcde77d"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="Apruve"><file name="ApruvePayment.js" hash="e6f1716e3e0668963dffff0d1ab04fb1"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>