CLS_Paypal_Credit_Card_Tokenization - Version 1.1.4

Version Notes

Send invoice number with PayFlow reference transactions to avoid duplicate invoice issue

Download this release

Release Info

Developer Classy Llama
Extension CLS_Paypal_Credit_Card_Tokenization
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.3 to 1.1.4

app/code/community/CLS/Paypal/CHANGELOG.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  CLS_Paypal 1.1.3 (5/12/2014)
2
  =======================================
3
  [CHANGED] Modifications to accommodate new code changes in CE 1.9/EE 1.14
1
+ CLS_Paypal 1.1.4 (5/13/2014)
2
+ =======================================
3
+ [FIXED] Send invoice number with PayFlow reference transactions to avoid duplicate invoice issue
4
+
5
  CLS_Paypal 1.1.3 (5/12/2014)
6
  =======================================
7
  [CHANGED] Modifications to accommodate new code changes in CE 1.9/EE 1.14
app/code/community/CLS/Paypal/Model/Paypal/Payflowpro.php CHANGED
@@ -58,6 +58,11 @@ class CLS_Paypal_Model_Paypal_Payflowpro extends Mage_Paypal_Model_Payflowpro
58
  ->setTender(self::TENDER_CC)
59
  ->setRequestId($this->_generateRequestId())
60
  ->setButtonsource(Mage::helper('cls_paypal')->getPaypalInfoCode());
 
 
 
 
 
61
  return $request;
62
  }
63
 
58
  ->setTender(self::TENDER_CC)
59
  ->setRequestId($this->_generateRequestId())
60
  ->setButtonsource(Mage::helper('cls_paypal')->getPaypalInfoCode());
61
+
62
+ if($payment->getOrder()) {
63
+ $request->setInvnum($payment->getOrder()->getIncrementId());
64
+ }
65
+
66
  return $request;
67
  }
68
 
app/code/community/CLS/Paypal/etc/config.xml CHANGED
@@ -30,7 +30,7 @@
30
  <config>
31
  <modules>
32
  <CLS_Paypal>
33
- <version>1.1.3</version>
34
  </CLS_Paypal>
35
  </modules>
36
 
30
  <config>
31
  <modules>
32
  <CLS_Paypal>
33
+ <version>1.1.4</version>
34
  </CLS_Paypal>
35
  </modules>
36
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CLS_Paypal_Credit_Card_Tokenization</name>
4
- <version>1.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -75,11 +75,11 @@ Enable the module's various features from these groups, as well as setting&#xD;
75
  their configuration options independently of the standard credit card&#xD;
76
  and billing agreement configurations.&#xD;
77
  </description>
78
- <notes>Modifications to accommodate new code changes in CE 1.9/EE 1.14</notes>
79
  <authors><author><name>Classy Llama</name><user>classyllama</user><email>info@classyllama.com</email></author></authors>
80
- <date>2014-05-12</date>
81
- <time>17:07:22</time>
82
- <contents><target name="magecommunity"><dir name="CLS"><dir name="Paypal"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Customer.php" hash="4217b90d94215a6652dcc698ae348f6c"/></dir></dir></dir></dir><dir name="Customer"><file name="Storedcard.php" hash="1f19b685983a801be9a0e3a5224df987"/></dir><dir name="Payment"><dir name="Form"><file name="Cc.php" hash="4a6046c29e70e5d3668ee9840c642c57"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Location.php" hash="2730278f26f00678f7effaee7fabafae"/></dir></dir></dir></dir><dir name="Payflow"><dir name="Advanced"><file name="Form.php" hash="ab4f2b5d5b90d3d9c59793a44bcd3106"/></dir><dir name="Link"><file name="Form.php" hash="2078d80e9d02f4410ad521d669131f8c"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Customerstored.php" hash="bf998008e870864c4af7f4da7b1f3776"/><dir name="Orderstored"><file name="Agreement.php" hash="96d1322d1ee4aaa1bfb1a29705ad3693"/></dir><file name="Orderstored.php" hash="ad8641f36a240b3582f9c2df872f1e7a"/></dir></dir></dir><dir name="Paypaluk"><dir name="Payment"><dir name="Form"><dir name="Orderstored"><file name="Agreement.php" hash="df2393007cedf8f07a9f5c075875287c"/></dir></dir></dir></dir></dir><file name="CHANGELOG.txt" hash="bde19ac07e76dce0f5b31ef8bc01ebc9"/><dir name="Helper"><file name="Data.php" hash="bde8720064fa1918b65d5ad6453202e5"/><dir name="Orderstored"><file name="Agreement.php" hash="87bc057e438e2364bfef6c8aaf298b72"/></dir><dir name="Paypal"><file name="Data.php" hash="334a4067ea02a750ad92d6ef228e5620"/></dir><file name="Storedcard.php" hash="d1dcbd3169146a8be0b0f743e780219b"/></dir><file name="LICENSE.txt" hash="71db18446bebc23ced8dd62644d16b5f"/><dir name="Model"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Create.php" hash="c4495227ebcf57985c76aee3484fdda8"/></dir></dir></dir><file name="Customerstored.php" hash="b665668e2dea947732e15b807d0ac0d9"/><file name="Observer.php" hash="adc978c7f0d89bc4bfb07a41d4ca1749"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="1a39867d97056840b3b7220f21e7d8a8"/></dir><file name="Config.php" hash="4c94e4720c26c36373ee60b95fa4f855"/><file name="Direct.php" hash="ef3b0556bf0a42e06540918f6a199c89"/><dir name="Express"><file name="Checkout.php" hash="0089b290510d6558f405837c04b0d28d"/></dir><file name="Express.php" hash="01df608f519c2686f2b92bb29f0d710b"/><file name="Info.php" hash="e9e62f9a4de192ad2e4475cd329239ac"/><dir name="Method"><dir name="Orderstored"><file name="Agreement.php" hash="4e835c3ced7234f1fa85a9ac2135d159"/></dir></dir><file name="Payflowadvanced.php" hash="0c1b29ae87e3d99bc9213c98cd6fce62"/><file name="Payflowlink.php" hash="43d11dce5912b1065c09fc1deb1b8a55"/><file name="Payflowpro.php" hash="6d9dcd5593184acd546ead60988f7b9c"/><dir name="Stored"><file name="Abstract.php" hash="d3d462fdec47a0c7a9fbe400f3db7570"/><dir name="Customerstored"><file name="Direct.php" hash="4d8c9ca1bd51387e30020a5ab7cf18e0"/><file name="Payflow.php" hash="8f7bc5a7711c090c99e368269dff0256"/><file name="Payflowadvanced.php" hash="140b8ce3772c1b1e7eba27fda3621b40"/><file name="Payflowlink.php" hash="ec10930f8e13759b7eee19eca2a1a402"/><file name="Payflowpro.php" hash="e3e9106c86b2121d5bc22346cedb5e70"/></dir><file name="Customerstored.php" hash="b23a5792ec29617d5a67dc2b46eec014"/><dir name="Orderstored"><file name="Direct.php" hash="b5e43e468696da57104d14558cbf6796"/><file name="Payflow.php" hash="39d2b02a4ca5f21966d3733800edeb74"/><file name="Payflowadvanced.php" hash="81983792d914701ff5853e2372c62e87"/><file name="Payflowlink.php" hash="b2a23f8f793d4791207580eec2a1614c"/><file name="Payflowpro.php" hash="e740ceaeb6b6eabb7bf69d91c802248c"/></dir><file name="Orderstored.php" hash="da3695a5c11bc9692c44985682faf763"/><file name="Payflow.php" hash="cf8395c60cd48a890366932e0b771a2b"/></dir></dir><dir name="Paypaluk"><dir name="Api"><dir name="Express"><file name="Nvp.php" hash="e7f2f3d43460963e0c03be0e2570b945"/></dir><dir name="Nvp"><file name="Common.php" hash="61d14420b595f41ee05dcac38e7b6a30"/></dir><file name="Nvp.php" hash="cd91e35953728ec23cc3d12d370b3d01"/></dir><dir name="Express"><file name="Checkout.php" hash="30be50f4f37c4dd86a030ef8d8e746ab"/></dir><file name="Express.php" hash="3bd2447989120a23637112e83440bc34"/><dir name="Method"><file name="Agreement.php" hash="6130d3dd630e45822af00c03e43d2fdd"/><dir name="Orderstored"><file name="Agreement.php" hash="128ebc81894ff25ba713b4d4817dfda3"/></dir></dir></dir><dir name="Resource"><dir name="Customerstored"><file name="Collection.php" hash="c4005ceb547f913b6045ec83176d1183"/></dir><file name="Customerstored.php" hash="4817d0cc17fd7878db7635bdaf4d28ca"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Payflowbaenabled.php" hash="01eea301e74636cfb3446a32875696f8"/></dir></dir></dir></dir><file name="README.md" hash="dea312ebc09b8818193ad889c9f90ac8"/><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="7f38863fd347676405af75c90fce8eff"/></dir></dir></dir><dir name="Customer"><file name="StoredcardController.php" hash="265534f272fb6fc7a8c6198db29d0bbe"/></dir><dir name="Paypal"><file name="ExpressController.php" hash="3ee6219c5bc5bc126b96de6089fc5344"/></dir><dir name="PaypalUk"><file name="ExpressController.php" hash="630f0fae3d9a84e7fa0f8242f7e715d1"/></dir></dir><dir name="etc"><file name="config.xml" hash="96b2a2624631146340dbaf3bdef792f8"/><file name="system.xml" hash="ca0b09ccdfc71097e537e28188fb29d6"/></dir><dir name="sql"><dir name="cls_paypal_setup"><file name="mysql4-install-0.0.1.php" hash="11c35e801f758a3ce8b72cdeb8582ca1"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="238220d8673832b5c6bdc6904cd616b5"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="79f01d08391f43d036eda62b7e065ab0"/></dir><dir name="template"><dir name="cls_paypal"><dir name="payment"><dir name="form"><file name="cc.phtml" hash="18374f975a2b4a2ff54d4694be4a994c"/><file name="customer_stored.phtml" hash="12522cb9f7acd46b1ffb61d1537994da"/><file name="order_stored.phtml" hash="b621f2c672d66cf418737cf68669976c"/></dir></dir><dir name="sales"><dir name="order"><dir name="create"><dir name="form"><file name="address.phtml" hash="1c6b60a4758aac055e935dfd56f468ae"/></dir></dir></dir><dir name="payment"><dir name="form"><dir name="orderstored"><file name="agreement.phtml" hash="a7c7568b9a7dda44673c1c195906f611"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="4c37fcb580cbcaa1a01a897045758728"/></dir><dir name="template"><dir name="cls_paypal"><dir name="customer"><file name="storedcard.phtml" hash="0561300c7a3185739f42a60d4afe0c6d"/></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="3980e7d249cfd0990ec2a1b9a26d6f5c"/><file name="customer_stored.phtml" hash="71a894688d69f295f24e79239b2735c0"/></dir></dir><dir name="paypal"><dir name="payflow"><file name="info.phtml" hash="634070bc37d37dcb5a434f388d8a303c"/></dir></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><file name="cls_paypal" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CLS_Paypal.xml" hash="9e629aac18f2e5f2c9feb266985c912f"/></dir></target><target name="magelocale"><dir name="en_US"><file name="CLS_Paypal.csv" hash="ab57482877d914bb1d02021d95c65520"/></dir></target></contents>
83
  <compatible/>
84
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
85
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CLS_Paypal_Credit_Card_Tokenization</name>
4
+ <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
75
  their configuration options independently of the standard credit card&#xD;
76
  and billing agreement configurations.&#xD;
77
  </description>
78
+ <notes>Send invoice number with PayFlow reference transactions to avoid duplicate invoice issue</notes>
79
  <authors><author><name>Classy Llama</name><user>classyllama</user><email>info@classyllama.com</email></author></authors>
80
+ <date>2014-05-14</date>
81
+ <time>03:45:18</time>
82
+ <contents><target name="magecommunity"><dir name="CLS"><dir name="Paypal"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Customer.php" hash="4217b90d94215a6652dcc698ae348f6c"/></dir></dir></dir></dir><dir name="Customer"><file name="Storedcard.php" hash="1f19b685983a801be9a0e3a5224df987"/></dir><dir name="Payment"><dir name="Form"><file name="Cc.php" hash="4a6046c29e70e5d3668ee9840c642c57"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Location.php" hash="2730278f26f00678f7effaee7fabafae"/></dir></dir></dir></dir><dir name="Payflow"><dir name="Advanced"><file name="Form.php" hash="ab4f2b5d5b90d3d9c59793a44bcd3106"/></dir><dir name="Link"><file name="Form.php" hash="2078d80e9d02f4410ad521d669131f8c"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Customerstored.php" hash="bf998008e870864c4af7f4da7b1f3776"/><dir name="Orderstored"><file name="Agreement.php" hash="96d1322d1ee4aaa1bfb1a29705ad3693"/></dir><file name="Orderstored.php" hash="ad8641f36a240b3582f9c2df872f1e7a"/></dir></dir></dir><dir name="Paypaluk"><dir name="Payment"><dir name="Form"><dir name="Orderstored"><file name="Agreement.php" hash="df2393007cedf8f07a9f5c075875287c"/></dir></dir></dir></dir></dir><file name="CHANGELOG.txt" hash="6c8ed2d358baa572ac566bd038eac00c"/><dir name="Helper"><file name="Data.php" hash="bde8720064fa1918b65d5ad6453202e5"/><dir name="Orderstored"><file name="Agreement.php" hash="87bc057e438e2364bfef6c8aaf298b72"/></dir><dir name="Paypal"><file name="Data.php" hash="334a4067ea02a750ad92d6ef228e5620"/></dir><file name="Storedcard.php" hash="d1dcbd3169146a8be0b0f743e780219b"/></dir><file name="LICENSE.txt" hash="71db18446bebc23ced8dd62644d16b5f"/><dir name="Model"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Create.php" hash="c4495227ebcf57985c76aee3484fdda8"/></dir></dir></dir><file name="Customerstored.php" hash="b665668e2dea947732e15b807d0ac0d9"/><file name="Observer.php" hash="adc978c7f0d89bc4bfb07a41d4ca1749"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="1a39867d97056840b3b7220f21e7d8a8"/></dir><file name="Config.php" hash="4c94e4720c26c36373ee60b95fa4f855"/><file name="Direct.php" hash="ef3b0556bf0a42e06540918f6a199c89"/><dir name="Express"><file name="Checkout.php" hash="0089b290510d6558f405837c04b0d28d"/></dir><file name="Express.php" hash="01df608f519c2686f2b92bb29f0d710b"/><file name="Info.php" hash="e9e62f9a4de192ad2e4475cd329239ac"/><dir name="Method"><dir name="Orderstored"><file name="Agreement.php" hash="4e835c3ced7234f1fa85a9ac2135d159"/></dir></dir><file name="Payflowadvanced.php" hash="0c1b29ae87e3d99bc9213c98cd6fce62"/><file name="Payflowlink.php" hash="43d11dce5912b1065c09fc1deb1b8a55"/><file name="Payflowpro.php" hash="012bd91fcb65ed3b66182a0a84b0b2d2"/><dir name="Stored"><file name="Abstract.php" hash="d3d462fdec47a0c7a9fbe400f3db7570"/><dir name="Customerstored"><file name="Direct.php" hash="4d8c9ca1bd51387e30020a5ab7cf18e0"/><file name="Payflow.php" hash="8f7bc5a7711c090c99e368269dff0256"/><file name="Payflowadvanced.php" hash="140b8ce3772c1b1e7eba27fda3621b40"/><file name="Payflowlink.php" hash="ec10930f8e13759b7eee19eca2a1a402"/><file name="Payflowpro.php" hash="e3e9106c86b2121d5bc22346cedb5e70"/></dir><file name="Customerstored.php" hash="b23a5792ec29617d5a67dc2b46eec014"/><dir name="Orderstored"><file name="Direct.php" hash="b5e43e468696da57104d14558cbf6796"/><file name="Payflow.php" hash="39d2b02a4ca5f21966d3733800edeb74"/><file name="Payflowadvanced.php" hash="81983792d914701ff5853e2372c62e87"/><file name="Payflowlink.php" hash="b2a23f8f793d4791207580eec2a1614c"/><file name="Payflowpro.php" hash="e740ceaeb6b6eabb7bf69d91c802248c"/></dir><file name="Orderstored.php" hash="da3695a5c11bc9692c44985682faf763"/><file name="Payflow.php" hash="cf8395c60cd48a890366932e0b771a2b"/></dir></dir><dir name="Paypaluk"><dir name="Api"><dir name="Express"><file name="Nvp.php" hash="e7f2f3d43460963e0c03be0e2570b945"/></dir><dir name="Nvp"><file name="Common.php" hash="61d14420b595f41ee05dcac38e7b6a30"/></dir><file name="Nvp.php" hash="cd91e35953728ec23cc3d12d370b3d01"/></dir><dir name="Express"><file name="Checkout.php" hash="30be50f4f37c4dd86a030ef8d8e746ab"/></dir><file name="Express.php" hash="3bd2447989120a23637112e83440bc34"/><dir name="Method"><file name="Agreement.php" hash="6130d3dd630e45822af00c03e43d2fdd"/><dir name="Orderstored"><file name="Agreement.php" hash="128ebc81894ff25ba713b4d4817dfda3"/></dir></dir></dir><dir name="Resource"><dir name="Customerstored"><file name="Collection.php" hash="c4005ceb547f913b6045ec83176d1183"/></dir><file name="Customerstored.php" hash="4817d0cc17fd7878db7635bdaf4d28ca"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Payflowbaenabled.php" hash="01eea301e74636cfb3446a32875696f8"/></dir></dir></dir></dir><file name="README.md" hash="dea312ebc09b8818193ad889c9f90ac8"/><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="7f38863fd347676405af75c90fce8eff"/></dir></dir></dir><dir name="Customer"><file name="StoredcardController.php" hash="265534f272fb6fc7a8c6198db29d0bbe"/></dir><dir name="Paypal"><file name="ExpressController.php" hash="3ee6219c5bc5bc126b96de6089fc5344"/></dir><dir name="PaypalUk"><file name="ExpressController.php" hash="630f0fae3d9a84e7fa0f8242f7e715d1"/></dir></dir><dir name="etc"><file name="config.xml" hash="252cb87964ed2098de31823aadc7ad12"/><file name="system.xml" hash="ca0b09ccdfc71097e537e28188fb29d6"/></dir><dir name="sql"><dir name="cls_paypal_setup"><file name="mysql4-install-0.0.1.php" hash="11c35e801f758a3ce8b72cdeb8582ca1"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="238220d8673832b5c6bdc6904cd616b5"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="79f01d08391f43d036eda62b7e065ab0"/></dir><dir name="template"><dir name="cls_paypal"><dir name="payment"><dir name="form"><file name="cc.phtml" hash="18374f975a2b4a2ff54d4694be4a994c"/><file name="customer_stored.phtml" hash="12522cb9f7acd46b1ffb61d1537994da"/><file name="order_stored.phtml" hash="b621f2c672d66cf418737cf68669976c"/></dir></dir><dir name="sales"><dir name="order"><dir name="create"><dir name="form"><file name="address.phtml" hash="1c6b60a4758aac055e935dfd56f468ae"/></dir></dir></dir><dir name="payment"><dir name="form"><dir name="orderstored"><file name="agreement.phtml" hash="a7c7568b9a7dda44673c1c195906f611"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="4c37fcb580cbcaa1a01a897045758728"/></dir><dir name="template"><dir name="cls_paypal"><dir name="customer"><file name="storedcard.phtml" hash="0561300c7a3185739f42a60d4afe0c6d"/></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="3980e7d249cfd0990ec2a1b9a26d6f5c"/><file name="customer_stored.phtml" hash="71a894688d69f295f24e79239b2735c0"/></dir></dir><dir name="paypal"><dir name="payflow"><file name="info.phtml" hash="634070bc37d37dcb5a434f388d8a303c"/></dir></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><file name="cls_paypal" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CLS_Paypal.xml" hash="9e629aac18f2e5f2c9feb266985c912f"/></dir></target><target name="magelocale"><dir name="en_US"><file name="CLS_Paypal.csv" hash="ab57482877d914bb1d02021d95c65520"/></dir></target></contents>
83
  <compatible/>
84
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
85
  </package>