Mediasoftbd_Sslcommerz - Version 1.0.1

Version Notes

SSLCOMMERZ the  process  of performing and receiving payment on the internet using Visa, MasterCard and Nexus debit card.
Magento SSLCOMMERZ payment extension which links up to an external payment gateway in Bangladesh.

Download this release

Release Info

Developer Abdul
Extension Mediasoftbd_Sslcommerz
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/design/frontend/base/default/template/Sslcommerz/redirect.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Sslcommerz Payment Controller
4
+ By: Abdul Matin
5
+ www.matinict.wordpress.com
6
+ */
7
+
8
+
9
+ // Retrieve order
10
+ $_order = new Mage_Sales_Model_Order();
11
+ $orderId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
12
+ $_order->loadByIncrementId($orderId);
13
+ ?>
14
+ <form name="Sslcommerzform" method="post" action="https://www.sslcommerz.com.bd/testbox/process/index.php">
15
+
16
+ <input type="hidden" name="store_id" value="test">
17
+ <input type="hidden" name="total_amount" value="<?php echo $_order->getBaseGrandTotal(); ?>">
18
+
19
+ <input type="hidden" name="tran_id" value="<?php echo $orderId; ?>">
20
+ <input type="hidden" name="success_url" value="http://localhost/yourcompany/index.php/checkout/onepage/success">
21
+ <input type="hidden" name="fail_url" value="http://localhost/yourcompany/index.php/checkout/onepage/success">
22
+ <input type="hidden" name="cancel_url" value="http://localhost/yourcompany/index.php/checkout/onepage/failure">
23
+
24
+ </form>
25
+ <script type="text/javascript">
26
+ document.Sslcommerzform.submit();
27
+ </script>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mediasoftbd_Sslcommerz</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license> &#x200E;GNU General Public License</license>
7
  <channel>community</channel>
@@ -16,8 +16,8 @@ Magento SSLCOMMERZ payment extension which links up to an external payment gatew
16
  </notes>
17
  <authors><author><name>Abdul</name><user>Matin</user><email>matinict@gmail.com</email></author></authors>
18
  <date>2013-06-23</date>
19
- <time>05:51:27</time>
20
- <contents><target name="magelocal"><dir><dir name="Mediasoftbd"><dir name="Sslcommerz"><dir name="Helper"><file name="Data.php" hash="e8cb5485803c1d275dbe0b92b6f06550"/></dir><dir name="Model"><file name="Standard.php" hash="aebb3685ab07f28965e7da7692687752"/></dir><dir name="controllers"><file name="PaymentController.php" hash="876489ee386eeb2b126d2f2aec51c218"/></dir><dir name="etc"><file name="config.xml" hash="bee35ea8d607ca67d859d74035796b0b"/><file name="system.xml" hash="cd919c7427ff8875c0f5fa6b3214b004"/></dir></dir></dir></dir></target><target name="magedesign"><dir name=" "><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="Sslcommerz"><file name="redirect.phtml" hash=""/></dir></dir></dir></dir></dir></dir><dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="8316bd585e077c92af8b3490ec6692f0"/><file name="crosssell.phtml" hash="67a18840b776cdecc87e06f9f7e00db3"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="e403cd7b8eb8209d54ebdc13f9c6b02f"/></dir><file name="default.phtml" hash="33049442e2d15f4a729d8054ed26b507"/></dir><file name="noItems.phtml" hash="85dd62d3046bf22ec8eb3e45989c6f0b"/><dir name="render"><file name="default.phtml" hash="51e2aea1c10d6db04d9b6ee880476c1a"/><file name="simple.phtml" hash="dc0f40db32a1b349ec3037f700cced7f"/></dir><file name="shipping.phtml" hash="a495f5acc9e7e871607e810f758b0724"/><dir name="sidebar"><file name="default.phtml" hash="7aac4b7a72774e75b49197971f1f6b84"/></dir><file name="sidebar.phtml" hash="7645eb7704a606c6044a31f440a7ff6f"/><file name="totals.phtml" hash="c942cacb712272bccd142bc1217d479a"/></dir><file name="cart.phtml" hash="9dec7d807898f5d8a9e82629dd9b7e38"/><dir name="multishipping"><dir name="address"><file name="select.phtml" hash="ab791c9b73074ae657deb56d7512c4e5"/></dir><file name="addresses.phtml" hash="35b220a8a8facbf7c458ada90f9b7dd7"/><file name="agreements.phtml" hash="26fd8740318e401add70128eaef68713"/><dir name="billing"><file name="items.phtml" hash="01e23f2f062fde7e38f14ccbd9feb526"/></dir><file name="billing.phtml" hash="dab59ccf7a0aff5e0070e8d0db892523"/><dir name="item"><file name="default.phtml" hash="d2c489f8f9ff090a9ce981d839703484"/></dir><file name="link.phtml" hash="1d52dee73ca493a7a4a89cecb28af3c9"/><dir name="overview"><file name="item.phtml" hash="3e0c7b57157458f5cb9b66f8c0ef778a"/></dir><file name="overview.phtml" hash="db9c1332c9c3bd86226554ba5d20ac88"/><file name="shipping.phtml" hash="97cbb043a3e59133743a5f843d805bc8"/><file name="state.phtml" hash="2160e6489d9a3dd42e613f2e0a185025"/><file name="success.phtml" hash="73503e4ac5789769f25ef35e34d5354f"/></dir><dir name="onepage"><file name="agreements.phtml" hash="15dbb2fb7c979e65b7abd9c7aa7cfbca"/><file name="billing.phtml" hash="82ead3fe6a2e73947eb6d2d7aa31c031"/><file name="failure.phtml" hash="ba10c2ef65a51a8a9d96c02d936e9666"/><file name="link.phtml" hash="b3f6bfdd6d75ee71b43ad9e948118888"/><file name="login.phtml" hash="0ba508df7d4921348b776b0f962d9894"/><dir name="payment"><file name="methods.phtml" hash="b3fac3fec44bec7f7feaa6c1118391d2"/></dir><file name="payment.phtml" hash="4b2283a884b0a3a7b1bb374cf3a01417"/><file name="progress.phtml" hash="9bd6c7bfff18e01ef44c509b4e906c93"/><dir name="review"><file name="button.phtml" hash="4d5c7c5a2d70f85ec324e79c7e81946b"/><file name="info.phtml" hash="02af6242925c9d28f2fe5f4518e5a677"/><file name="item.phtml" hash="c53b269b2ea75656a3fd954aff903af9"/><file name="totals.phtml" hash="6e857d144768ed8faa0be977b547b32f"/></dir><file name="review.phtml" hash="652b5fce417cb50a0158dd5d49f64778"/><file name="shipping.phtml" hash="9e787acc3888ff1620ab295af3ab9078"/><dir name="shipping_method"><file name="additional.phtml" hash="e13cd269e9feb9f0be1c10005bc19801"/><file name="available.phtml" hash="cd1e4a35c2aa344945f3cf2075122393"/></dir><file name="shipping_method.phtml" hash="f912002c2cf6872a0d9bdc689b80163d"/></dir><file name="onepage.phtml" hash="0039fbf105fe77431be0de4cb71dae51"/><file name="success.phtml" hash="73d379ff8f3ef59494f174d87e60551c"/><dir name="total"><file name="default.phtml" hash="f1010ec3fd3dcb503d81f7e8d3ebb206"/><file name="nominal.phtml" hash="8df39c86e037a915d082fa61da9bb1c8"/><file name="tax.phtml" hash="7fe5f21f35b2cb2b0642ddf418917405"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Mediasoftbd_Sslcommerz.xml" hash="22713dae7c870cc6e389d6913165b234"/></dir></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mediasoftbd_Sslcommerz</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license> &#x200E;GNU General Public License</license>
7
  <channel>community</channel>
16
  </notes>
17
  <authors><author><name>Abdul</name><user>Matin</user><email>matinict@gmail.com</email></author></authors>
18
  <date>2013-06-23</date>
19
+ <time>06:30:26</time>
20
+ <contents><target name="magelocal"><dir><dir name="Mediasoftbd"><dir name="Sslcommerz"><dir name="Helper"><file name="Data.php" hash="e8cb5485803c1d275dbe0b92b6f06550"/></dir><dir name="Model"><file name="Standard.php" hash="aebb3685ab07f28965e7da7692687752"/></dir><dir name="controllers"><file name="PaymentController.php" hash="876489ee386eeb2b126d2f2aec51c218"/></dir><dir name="etc"><file name="config.xml" hash="bee35ea8d607ca67d859d74035796b0b"/><file name="system.xml" hash="cd919c7427ff8875c0f5fa6b3214b004"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="Sslcommerz"><file name="redirect.phtml" hash="4b8677aef5114e4401c7cee42f3db6d3"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="8316bd585e077c92af8b3490ec6692f0"/><file name="crosssell.phtml" hash="67a18840b776cdecc87e06f9f7e00db3"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="e403cd7b8eb8209d54ebdc13f9c6b02f"/></dir><file name="default.phtml" hash="33049442e2d15f4a729d8054ed26b507"/></dir><file name="noItems.phtml" hash="85dd62d3046bf22ec8eb3e45989c6f0b"/><dir name="render"><file name="default.phtml" hash="51e2aea1c10d6db04d9b6ee880476c1a"/><file name="simple.phtml" hash="dc0f40db32a1b349ec3037f700cced7f"/></dir><file name="shipping.phtml" hash="a495f5acc9e7e871607e810f758b0724"/><dir name="sidebar"><file name="default.phtml" hash="7aac4b7a72774e75b49197971f1f6b84"/></dir><file name="sidebar.phtml" hash="7645eb7704a606c6044a31f440a7ff6f"/><file name="totals.phtml" hash="c942cacb712272bccd142bc1217d479a"/></dir><file name="cart.phtml" hash="9dec7d807898f5d8a9e82629dd9b7e38"/><dir name="multishipping"><dir name="address"><file name="select.phtml" hash="ab791c9b73074ae657deb56d7512c4e5"/></dir><file name="addresses.phtml" hash="35b220a8a8facbf7c458ada90f9b7dd7"/><file name="agreements.phtml" hash="26fd8740318e401add70128eaef68713"/><dir name="billing"><file name="items.phtml" hash="01e23f2f062fde7e38f14ccbd9feb526"/></dir><file name="billing.phtml" hash="dab59ccf7a0aff5e0070e8d0db892523"/><dir name="item"><file name="default.phtml" hash="d2c489f8f9ff090a9ce981d839703484"/></dir><file name="link.phtml" hash="1d52dee73ca493a7a4a89cecb28af3c9"/><dir name="overview"><file name="item.phtml" hash="3e0c7b57157458f5cb9b66f8c0ef778a"/></dir><file name="overview.phtml" hash="db9c1332c9c3bd86226554ba5d20ac88"/><file name="shipping.phtml" hash="97cbb043a3e59133743a5f843d805bc8"/><file name="state.phtml" hash="2160e6489d9a3dd42e613f2e0a185025"/><file name="success.phtml" hash="73503e4ac5789769f25ef35e34d5354f"/></dir><dir name="onepage"><file name="agreements.phtml" hash="15dbb2fb7c979e65b7abd9c7aa7cfbca"/><file name="billing.phtml" hash="82ead3fe6a2e73947eb6d2d7aa31c031"/><file name="failure.phtml" hash="ba10c2ef65a51a8a9d96c02d936e9666"/><file name="link.phtml" hash="b3f6bfdd6d75ee71b43ad9e948118888"/><file name="login.phtml" hash="0ba508df7d4921348b776b0f962d9894"/><dir name="payment"><file name="methods.phtml" hash="b3fac3fec44bec7f7feaa6c1118391d2"/></dir><file name="payment.phtml" hash="4b2283a884b0a3a7b1bb374cf3a01417"/><file name="progress.phtml" hash="9bd6c7bfff18e01ef44c509b4e906c93"/><dir name="review"><file name="button.phtml" hash="4d5c7c5a2d70f85ec324e79c7e81946b"/><file name="info.phtml" hash="02af6242925c9d28f2fe5f4518e5a677"/><file name="item.phtml" hash="c53b269b2ea75656a3fd954aff903af9"/><file name="totals.phtml" hash="6e857d144768ed8faa0be977b547b32f"/></dir><file name="review.phtml" hash="652b5fce417cb50a0158dd5d49f64778"/><file name="shipping.phtml" hash="9e787acc3888ff1620ab295af3ab9078"/><dir name="shipping_method"><file name="additional.phtml" hash="e13cd269e9feb9f0be1c10005bc19801"/><file name="available.phtml" hash="cd1e4a35c2aa344945f3cf2075122393"/></dir><file name="shipping_method.phtml" hash="f912002c2cf6872a0d9bdc689b80163d"/></dir><file name="onepage.phtml" hash="0039fbf105fe77431be0de4cb71dae51"/><file name="success.phtml" hash="73d379ff8f3ef59494f174d87e60551c"/><dir name="total"><file name="default.phtml" hash="f1010ec3fd3dcb503d81f7e8d3ebb206"/><file name="nominal.phtml" hash="8df39c86e037a915d082fa61da9bb1c8"/><file name="tax.phtml" hash="7fe5f21f35b2cb2b0642ddf418917405"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Mediasoftbd_Sslcommerz.xml" hash="22713dae7c870cc6e389d6913165b234"/></dir></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>