payitsimplepayment - Version 2.0.1

Version Notes

Some fixes.

Download this release

Release Info

Developer Eric Benayoun
Extension payitsimplepayment
Version 2.0.1
Comparing to
See all releases


Code changes from version 2.0.0 to 2.0.1

app/code/community/PayItSimple/Payment/Model/Api.php CHANGED
@@ -170,10 +170,10 @@ class PayItSimple_Payment_Model_Api extends Mage_Core_Model_Abstract
170
  3 => 'In process',
171
  4 => 'Installment plan finished',
172
  5 => 'Plan cancelled by the customer (during the wizard)',
173
- 6 => 'Installment plan finished and cleared by SplitIt',
174
  7 => 'Pending customer credit card replacement',
175
  8 => 'Plan frozen (only authorizations continues)',
176
- 9 => 'Plan cancelled by the merchant or by SplitIt',
177
  );
178
  }
179
 
170
  3 => 'In process',
171
  4 => 'Installment plan finished',
172
  5 => 'Plan cancelled by the customer (during the wizard)',
173
+ 6 => 'Installment plan finished and cleared by Splitit',
174
  7 => 'Pending customer credit card replacement',
175
  8 => 'Plan frozen (only authorizations continues)',
176
+ 9 => 'Plan cancelled by the merchant or by Splitit',
177
  );
178
  }
179
 
app/code/community/PayItSimple/Payment/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <PayItSimple_Payment>
5
- <version>2.0.0</version>
6
  </PayItSimple_Payment>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <PayItSimple_Payment>
5
+ <version>2.0.1</version>
6
  </PayItSimple_Payment>
7
  </modules>
8
  <frontend>
app/code/community/PayItSimple/Payment/etc/system.xml CHANGED
@@ -4,12 +4,12 @@
4
  <payment>
5
  <groups>
6
  <pis_cc translate="label">
7
- <label>SplitIt Payment Settings</label>
8
  <sort_order>670</sort_order>
9
  <show_in_default>1</show_in_default>
10
  <show_in_website>1</show_in_website>
11
  <show_in_store>1</show_in_store>
12
- <comment><![CDATA[<a href="https://www.splitit.com/register?source=magento_plugin_config_page" target="_blank">Click here to sign up for a SplitIt account</a>]]></comment>
13
  <fields>
14
  <active translate="label">
15
  <label>Enabled</label>
4
  <payment>
5
  <groups>
6
  <pis_cc translate="label">
7
+ <label>Splitit Payment Settings</label>
8
  <sort_order>670</sort_order>
9
  <show_in_default>1</show_in_default>
10
  <show_in_website>1</show_in_website>
11
  <show_in_store>1</show_in_store>
12
+ <comment><![CDATA[<a href="https://www.splitit.com/register?source=magento_plugin_config_page" target="_blank">Click here to sign up for a Splitit account</a>]]></comment>
13
  <fields>
14
  <active translate="label">
15
  <label>Enabled</label>
app/code/community/PayItSimple/Payment/sql/pis_payment_setup/mysql4-install-1.0.0.php CHANGED
@@ -2,6 +2,6 @@
2
  $installer = $this;
3
  /* @var $installer Mage_Customer_Model_Entity_Setup */
4
  $installer->startSetup();
5
- $installer->getConnection()->addColumn($installer->getTable('sales/quote_payment'), 'installments_no', array('type' => Varien_Db_Ddl_Table::TYPE_TEXT, 'length' => 30, 'nullable' => false, 'default' => '', 'comment' => 'SplitIt installments number'));
6
- $installer->getConnection()->addColumn($installer->getTable('sales/order_payment'), 'installments_no', array('type' => Varien_Db_Ddl_Table::TYPE_TEXT, 'length' => 30, 'nullable' => false, 'default' => '', 'comment' => 'SplitIt installments number'));
7
  $installer->endSetup();
2
  $installer = $this;
3
  /* @var $installer Mage_Customer_Model_Entity_Setup */
4
  $installer->startSetup();
5
+ $installer->getConnection()->addColumn($installer->getTable('sales/quote_payment'), 'installments_no', array('type' => Varien_Db_Ddl_Table::TYPE_TEXT, 'length' => 30, 'nullable' => false, 'default' => '', 'comment' => 'Splitit installments number'));
6
+ $installer->getConnection()->addColumn($installer->getTable('sales/order_payment'), 'installments_no', array('type' => Varien_Db_Ddl_Table::TYPE_TEXT, 'length' => 30, 'nullable' => false, 'default' => '', 'comment' => 'Splitit installments number'));
7
  $installer->endSetup();
app/design/adminhtml/default/default/template/payitsimple/system/config/notification.phtml CHANGED
@@ -1,5 +1,5 @@
1
  <?php if (!$this->isConfigured()): ?>
2
  <div class="notification-global notification-global-notice">
3
- Thank you for installing SplitIt, you need to be registered on our website in order to accept payments. Please <a href="<?php echo $this->getUrl('adminhtml/system_config/edit', array('section'=>'payment'))?>#payment_pis_cc-head">configure</a> our exstension.
4
  </div>
5
  <?php endif; ?>
1
  <?php if (!$this->isConfigured()): ?>
2
  <div class="notification-global notification-global-notice">
3
+ Thank you for installing Splitit, you need to be registered on our website in order to accept payments. Please <a href="<?php echo $this->getUrl('adminhtml/system_config/edit', array('section'=>'payment'))?>#payment_pis_cc-head">configure</a> our exstension.
4
  </div>
5
  <?php endif; ?>
app/design/frontend/base/default/template/payitsimple/terms.phtml CHANGED
@@ -36,14 +36,14 @@
36
  <li>In the event that Buyer’s Issuer fails to pay an Installment for any reason, Seller, at its discretion, may
37
  charge Buyer’s credit card at any time for the full outstanding amount due.
38
  </li>
39
- <li>In consideration for services provided by Pay It Simple USA, Inc. (“SplitIt”) to Seller, Buyer agrees
40
- that SplitIt will have the right to communicate with and solicit Buyer via e-mail (or other means).&nbsp;
41
  This provision is operational for not less than five (5) years from the date of the initial authorization.
42
  </li>
43
- <li>Buyer understands that SplitIt is not a party to this Agreement, which is solely between Buyer and
44
  Seller.
45
  </li>
46
- <li>Buyer understands and agrees that SplitIt is not responsible for the delivery and quality of goods
47
  purchased in this transaction.
48
  </li>
49
  <li>Buyer acknowledges that the origination of any authorized transactions to the Buyer’s account must comply
@@ -59,15 +59,15 @@
59
  <li>If any provision of this contract is determined to be invalid, it shall not affect the remaining provisions
60
  hereof.
61
  </li>
62
- <li>PRIVACY POLICY.&nbsp; Buyer’s privacy is important to us.&nbsp; You may obtain a copy of SplitIt’s
63
  Privacy Policy by visiting their website at consumer.splitit.com.&nbsp; As permitted by law, We and
64
- SplitIt may share information about our transactions and experiences with Buyer with other affiliated
65
  companies and unaffiliated third parties, including consumer reporting agencies and other creditors.
66
- However, except as permitted by law, neither We nor SplitIt may share information which was obtained
67
  from credit applications, consumer reports, and any third parties with companies affiliated with us if Buyer
68
  instructs us not to share this information.&nbsp; If Buyer does not want us to share this information, Buyer
69
  shall notify us in writing via Buyer’s user account at&nbsp;<a href="https://consumer.splitit.com/">consumer.splitit.com</a>&nbsp;using
70
- the password Buyer was provided with for such notification and for accessing information on SplitIt’s
71
  website.&nbsp; Buyer shall include Buyer’s name, address, account number and the last four digits of Buyer’s
72
  credit card number used in this transaction so such request can be honored. We may report about Your account
73
  to consumer reporting agencies.&nbsp; Late payments, missed payments, or other defaults on Your credit card
36
  <li>In the event that Buyer’s Issuer fails to pay an Installment for any reason, Seller, at its discretion, may
37
  charge Buyer’s credit card at any time for the full outstanding amount due.
38
  </li>
39
+ <li>In consideration for services provided by Pay It Simple USA, Inc. (“Splitit”) to Seller, Buyer agrees
40
+ that Splitit will have the right to communicate with and solicit Buyer via e-mail (or other means).&nbsp;
41
  This provision is operational for not less than five (5) years from the date of the initial authorization.
42
  </li>
43
+ <li>Buyer understands that Splitit is not a party to this Agreement, which is solely between Buyer and
44
  Seller.
45
  </li>
46
+ <li>Buyer understands and agrees that Splitit is not responsible for the delivery and quality of goods
47
  purchased in this transaction.
48
  </li>
49
  <li>Buyer acknowledges that the origination of any authorized transactions to the Buyer’s account must comply
59
  <li>If any provision of this contract is determined to be invalid, it shall not affect the remaining provisions
60
  hereof.
61
  </li>
62
+ <li>PRIVACY POLICY.&nbsp; Buyer’s privacy is important to us.&nbsp; You may obtain a copy of Splitit’s
63
  Privacy Policy by visiting their website at consumer.splitit.com.&nbsp; As permitted by law, We and
64
+ Splitit may share information about our transactions and experiences with Buyer with other affiliated
65
  companies and unaffiliated third parties, including consumer reporting agencies and other creditors.
66
+ However, except as permitted by law, neither We nor Splitit may share information which was obtained
67
  from credit applications, consumer reports, and any third parties with companies affiliated with us if Buyer
68
  instructs us not to share this information.&nbsp; If Buyer does not want us to share this information, Buyer
69
  shall notify us in writing via Buyer’s user account at&nbsp;<a href="https://consumer.splitit.com/">consumer.splitit.com</a>&nbsp;using
70
+ the password Buyer was provided with for such notification and for accessing information on Splitit’s
71
  website.&nbsp; Buyer shall include Buyer’s name, address, account number and the last four digits of Buyer’s
72
  credit card number used in this transaction so such request can be honored. We may report about Your account
73
  to consumer reporting agencies.&nbsp; Late payments, missed payments, or other defaults on Your credit card
package.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0"?>
2
- <package><name>payitsimplepayment</name><version>2.0.0</version><stability>stable</stability><license>OSL</license><channel>community</channel><extends></extends><summary>Offer your customers interest-free credit card installment payments. Official extension.</summary><description>This extension allows ecommerce merchants to add an additional payment method to your checkout process. A PayItSimple button is added to your website for fast and easy checkout.&lt;br /&gt;
3
  It was carefully designed to meet all Magento best development practices and is compatible with all other extensions. This extension is free of charge.&lt;br /&gt;&lt;br /&gt;
4
 
5
  &lt;h3&gt;Signup for FREE&lt;/h3&gt;
6
- &lt;a href="http://payitsimple.com/register/"&gt;Signup with PayItSimple for FREE and start offering your customers interest-free installment payments on their existing credit cards.&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;</description><notes>Rebranding extension.</notes><authors><author><name>Eric Benayoun</name><user>ericbena</user><email>ericb@splitit.com</email></author></authors><date>2015-11-18</date><time>5:05:29</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payitsimple"><dir name="system"><dir name="config"><file name="button.phtml" hash="99d600397e180a6f91510109c26ad03b"/><file name="notification.phtml" hash="53381c9283a5152b8a0ad87ce01139f6"/></dir></dir></dir></dir><dir name="layout"><file name="payitsimple_notification.xml" hash="13bdcf50121ad5a009bf34793501fe76"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="payitsimple"><file name="help.phtml" hash="a68dd09ca9db72591cf602c0a5345e77"/><file name="terms.phtml" hash="4aeec2b53d56d00e606abfd053613581"/><dir name="form"><file name="method_faq.phtml" hash="82adc787e203202bbeb56051d9714f5d"/><file name="pis.phtml" hash="aba55dc0f0a5db797f9b30b9ed99015a"/></dir></dir></dir><dir name="layout"><file name="pis_payment.xml" hash="9f0521aea108f9e3f9b9c777c6aefee3"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="PayItSimple_Payment.xml" hash="608e164d747a215efa2cf4d062693236"/></dir></dir><dir name="code"><dir name="community"><dir name="PayItSimple"><dir name="Payment"><dir name="sql"><dir name="pis_payment_setup"><file name="mysql4-install-1.0.0.php" hash="1d1b4bccf1ecab2359aae5bef3be8a26"/></dir></dir><dir name="Block"><dir name="Info"><file name="Pis.php" hash="42cb4edb5ff208a1a3ee7612579a6165"/></dir><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Notification.php" hash="27ac86d84fe3927c28abc6da018736cd"/><dir name="Form"><file name="Button.php" hash="4f726bf958620400bac66c0757717411"/></dir></dir></dir></dir><dir name="Form"><file name="Pis.php" hash="1b7804b11f2119ddd64a464ddd882a41"/></dir></dir><dir name="Helper"><file name="Data.php" hash="1fba2ce41eb4f554e365d82424323ccd"/></dir><dir name="etc"><file name="config.xml" hash="67dfa01c577c70684951f5d10fcb3329"/><file name="system.xml" hash="f9fb758e1554334db34f7d5055525013"/></dir><dir name="controllers"><file name="PaymentController.php" hash="598f81b5afec4b73d2d14bf4a309e848"/><dir name="Adminhtml"><file name="PayitsimpleController.php" hash="4e7a1a3d4dfca38656aa32da9ef70df8"/></dir></dir><dir name="Model"><file name="Api.php" hash="8b44ac640575a7526d323cd525813320"/><file name="PisMethod.php" hash="9f2265397225368969926d73d7d6617a"/><dir name="Source"><file name="Action.php" hash="1390fb3dce78cf8eff1118df2ee5b997"/><file name="Cctype.php" hash="7f77a0c6729d0896c8ec250bb7f4fd49"/><file name="Installments.php" hash="65b727e639308cba4241662a2040d6f3"/></dir></dir></dir></dir></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>payitsimplepayment</name><version>2.0.1</version><stability>stable</stability><license>OSL</license><channel>community</channel><extends></extends><summary>Offer your customers interest-free credit card installment payments. Official extension.</summary><description>This extension allows ecommerce merchants to add an additional payment method to your checkout process. A Splitit button is added to your website for fast and easy checkout.&lt;br /&gt;
3
  It was carefully designed to meet all Magento best development practices and is compatible with all other extensions. This extension is free of charge.&lt;br /&gt;&lt;br /&gt;
4
 
5
  &lt;h3&gt;Signup for FREE&lt;/h3&gt;
6
+ &lt;a href="http://payitsimple.com/register/"&gt;Signup with Splitit for FREE and start offering your customers interest-free installment payments on their existing credit cards.&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;</description><notes>Some fixes.</notes><authors><author><name>Eric Benayoun</name><user>ericbena</user><email>ericb@splitit.com</email></author></authors><date>2015-11-18</date><time>23:51:46</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payitsimple"><dir name="system"><dir name="config"><file name="button.phtml" hash="99d600397e180a6f91510109c26ad03b"/><file name="notification.phtml" hash="86940d0b8a6695c54daaf6b7918633dc"/></dir></dir></dir></dir><dir name="layout"><file name="payitsimple_notification.xml" hash="13bdcf50121ad5a009bf34793501fe76"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="payitsimple"><file name="help.phtml" hash="a68dd09ca9db72591cf602c0a5345e77"/><file name="terms.phtml" hash="f5a8ea332b4179622810fa759291e424"/><dir name="form"><file name="method_faq.phtml" hash="82adc787e203202bbeb56051d9714f5d"/><file name="pis.phtml" hash="aba55dc0f0a5db797f9b30b9ed99015a"/></dir></dir></dir><dir name="layout"><file name="pis_payment.xml" hash="9f0521aea108f9e3f9b9c777c6aefee3"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="PayItSimple_Payment.xml" hash="608e164d747a215efa2cf4d062693236"/></dir></dir><dir name="code"><dir name="community"><dir name="PayItSimple"><dir name="Payment"><dir name="sql"><dir name="pis_payment_setup"><file name="mysql4-install-1.0.0.php" hash="f2687e3adaa4654942a882287a0bf532"/></dir></dir><dir name="Block"><dir name="Info"><file name="Pis.php" hash="42cb4edb5ff208a1a3ee7612579a6165"/></dir><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Notification.php" hash="27ac86d84fe3927c28abc6da018736cd"/><dir name="Form"><file name="Button.php" hash="4f726bf958620400bac66c0757717411"/></dir></dir></dir></dir><dir name="Form"><file name="Pis.php" hash="1b7804b11f2119ddd64a464ddd882a41"/></dir></dir><dir name="Helper"><file name="Data.php" hash="1fba2ce41eb4f554e365d82424323ccd"/></dir><dir name="etc"><file name="config.xml" hash="e9240bd026d0e9260e26ce962bad77cb"/><file name="system.xml" hash="8acdcf4ba599f791b44e949c769ce47b"/></dir><dir name="controllers"><file name="PaymentController.php" hash="598f81b5afec4b73d2d14bf4a309e848"/><dir name="Adminhtml"><file name="PayitsimpleController.php" hash="4e7a1a3d4dfca38656aa32da9ef70df8"/></dir></dir><dir name="Model"><file name="Api.php" hash="2e4e60c330e7d1aed40bff6e2e7b7b30"/><file name="PisMethod.php" hash="9f2265397225368969926d73d7d6617a"/><dir name="Source"><file name="Action.php" hash="1390fb3dce78cf8eff1118df2ee5b997"/><file name="Cctype.php" hash="7f77a0c6729d0896c8ec250bb7f4fd49"/><file name="Installments.php" hash="65b727e639308cba4241662a2040d6f3"/></dir></dir></dir></dir></dir></dir></dir></target></contents></package>